Purpose: Test, if coommon operations with sample are possible. Setup: Have all samples from previous test suite created. Glassfish registered as server.
#
Test case
Description
1
Build project
Invoke Build action
RESULT:
Sample is successfuly built.
No suspicious messages printed in output window.
2
Clean and Build
Invoke Clean and Build action
RESULT:
Sample is successfuly cleaned and then built.
No suspicious messages printed in output window.
3
Clean
Invoke Clean action
RESULT:
Sample is successfuly cleaned.
No suspicious messages printed in output window.
4
Verify
Invoke Verify action
RESULT:
Verifier window opens and shows the process and results of verify.
Sample is successfuly verified.
Info about results of verify are printed to output window.
No suspicious messages printed in output window.
5
Run
Invoke Run action
RESULT:
Sample is successfuly built and deployed.
When war is selected to run, browser window is opened and samples page are shown.
When application client is selected to run, its results are printed to output window.
No suspicious messages printed in output window.
6
Debug (server stopped, or running in normal mode)
Invoke Debug action
Question dialog appears
Click on 'No'
RESULT:
If it is stopped, server is started.
Debugger Console window is opened.
Watches View, Call Stack and Local Variables windows are opened
Sample is successfuly debugged.
Watches View, Call Stack and Local Variables windows are closed.
No suspicious messages printed in output window.
7
Debug (server running in debug mode)
Invoke Debug action
Question dialog appears
Click on 'Yes'
Information dialog appears
Confirm information.
RESULT: Sample is unsuccessfuly debugged.
8
Deploy
Invoke Deploy action
RESULT:
Sample is successfuly deployed to the server.
No suspicious messages printed in output window.
RESULT:
Sample is successfuly built and deployed.
Valid results are printed to output window.
No suspicious messages printed in output window.
2
CustomerCMP
Set "Client Module URI" in project properties to war.
Run project
Try functionality of all 5 links.
RESULT:
Browser is opened with resulting pages.
Every action works, as it should.
No errors appears on pages or in netbeans.
3
InterceptorStateless
Invoke Run action on the project.
RESULT:
Sample is successfuly built and deployed.
Valid results are printed to output window.
No suspicious messages printed in output window.
4
JsfJpa
Run sample.
Click on link.
Add new user to database
Test successful and unsuccessful login
RESULT:
Browser is opened.
You log in with valid user/password combination.
You fail to log with invalid user/password combination
No errors appears on pages or in netbeans.
5
LotteryAnnotation
Set "Client Module URI" in project properties to war.
Run project
Try picking number by 'Quick Pick'.
RESULT:
Browser is opened with resulting pages.
Every Quick Pick show result.
No errors appears on pages or in netbeans.
6
ServletStateless
Set "Client Module URI" in project properties to war.
Run project
Fill some text and push the button
RESULT:
Browser is opened.
Servlet greets you.
No errors appears on pages or in netbeans.
7
WebJpa
Run sample.
Click on link and create new personal record.
Add new user to database
RESULT:
Browser is opened.
You can add successfuly new personal record to the database.
All records are correctly shown.
No errors appears on pages or in netbeans.