jst j2ee
test plan: Testing Context Menus for New, Import and Export
WTP LogoWTP Home
Intoduction
 

The test case shows the differnt context menus of New, Import and Export on differnt modules and deployment descriptors.

Steps
 

    Context Menu

  1. Open the Project explorer.
  2. Click on the button "Group projects by type" to show the project in the ungroup view.
  3. Right click inside the project explorer window and you should see the following menu.
  4. Click on project and new project wizard should pop up.
  5. Click on Import and Import Wizard should pop up.
  6. Click on Export and Export Wizard should pop up.
  7. Click on the New-->Project.
  8. New Wizard will pop up. Select Enterprise Application Project under J2EE and hit Finish.
  9. Enterprise Application Wizard should pop up.
  10. In the name enter TestEAR.
  11. Create a Target Server if does not exist.
  12. Hit Next and Click on New Module-->Finish-->Finish.
    EAR Context Menus

  1. Right click on TestEAR-->New
  2. Select Import
  3. Select Export
  4. Expand TestEAR, right click on Deployment Descriptor-->New
  5. Select Import
  6. Select Export
  7. Verify that New, Import, and Export Menu are same for Modules, EJB, Web, JavaClient, Connector, Project Utility JARS, and Utility Jars as shown in the figure below
  8. For all the menus, click on the different menu options of New, Import and Export to make sure that proper wizard comes up.
    Application Client Context Menu

  1. 1. Right click on TestEARClient-->New
  2. Select Import
  3. Select App Client JAR file, Import Class Files and Import to make sure that the wizard comes up.
  4. Select Export
  5. 5. Right click on App Client Deployment Descriptor-->New
  6. Select Import
  7. Select Export
    Connector Context Menu

  1. 1. Right click on TestEARconnector-->New
  2. Select Import
  3. Select RAR file, Import Class Files and Import to make sure that the wizard comes up.
  4. Select Export
  5. 5. Right click on Connector Deployment Descriptor-->New
  6. Select Import
  7. Select Export
    EJB Context Menu

  1. 1. Right click on TestEAREJB-->New.Select all the different submenus to verify that the corresponding wizard comes up with proper selection.
  2. Select Import
  3. Select EJB Jar file, Import Class Files and Import to make sure that the wizard comes up.
  4. Select Export
  5. 5. Right click on EJB Deployment Descriptor-->New
  6. Select Import
  7. Select Export
    Web Context Menu

  1. 1. Right click on TestEARWeb-->New.Select all the different submenus to verify that the corresponding wizard comes up with proper selection.
  2. Select Import
  3. Select WAR file, Import Class Files and Import to make sure that the wizard comes up.
  4. Select Export
  5. 5. Right click on Web Deployment Descriptor-->New
  6. Select Import
  7. Select Export