| # | Test case | Description |
| 1 | New project name |
1. Type new project name.
2. SJAS or Glassfish server and default J2EE version should be automatically set.
|
|
|
RESULT:
Valid Application Client created (check Application Client directory structure and Source Packages|applicationclient|Main.java file). |
| 2 | Project name as existing directory |
1. Type project name as existing directory.
|
|
|
RESULT:
Preventing user from application client creation. |
| 3 | Invalid project name |
1. Type invalid project name using forbidden characters.
|
|
|
RESULT:
Preventing user from application client creation. |
| 4 | Change location |
1. Change location (use typing and/or selecting by Browse button).
|
|
|
RESULT:
Valid application client created (check web application directory structure and WEB-INF/web.xml file). |
| 5 | New location |
1. Type new nonexisting location.
|
|
|
RESULT:
New directory created.
RESULT:
Valid web application created (check Application Client directory structure and Source Packages|applicationclient|Main.java file). |
| 6 | Read only location |
1. Choose read only location.
|
|
|
RESULT:
Preventing user from application client creation. |
| 7 | Main class name |
1. Change Main class Name and/or package name for Main class..
|
|
|
RESULT:
Main class and/or package is created with different name). |
| 8 | J2EE version |
1. Select Glassfish as J2EE server and change J2EE specification level to J2EE 1.4.
|
|
|
RESULT:
J2EE specification used in application client (File|"project name" Properties|General|J2EE Platform) is different to the default. |
| 9 | Uncheck Create Main Class |
1. Uncheck Create Main Class in wizard.
|
|
|
RESULT:
No Main class is created in application client. |
| 10 | Change server |
1. Change server to Sun Java System Application Server 8.2.
|
|
|
RESULT:
You can check if application properties|Run that server was set to Sun Java System Application Server 8.2 . |
| 11 | Add to Enterprise application |
1. Click on Add to Enterprise application and select it.
|
|
|
RESULT:
Your application client will be added to selected Enterprise application. |
| 12 | No main project |
1. Turn off the Set as Main checkbox.
|
|
|
RESULT:
Created application client will not become main project. |