JBoss Deployment Test Specification for NetBeans 6.0 Release

Contents
Test Specification Identifier
        Features to be tested
        Approach Refinements
        Test Identification
        Test Cases
Approvals
Revision History

Test Specification identifier   http://qa.netbeans.org/modules/webapps/promo-h/JBossDeployment.html

(F) Features to be tested

Features that will be Implemented and Tested for NetBeans 6.0 Release
  • Integration with JBoss 4
  • (A) Approach refinements

       This exercise would comprise of :
  • Identifying a list of web applications that are pre-built or that can be built using NetBeans IDE
  • Identifying the deployment features that need to tested/verified by this testing
  • Each of thie identified application would be tested for the deployment features against acceptable JBoss Application Server/DBServer combination.
  • (T) Test Identification (Test Areas)

    List of Features Tested for Deployment

    • Common Tests to be exercised with JBoss 4 container and supported databases
    Test Cases Detail/Procedure
    Execute the  following tests for the J2EE 1.4 Application Server


    Add Server Instance dialog

    Setup (e): Install necessary JBoss Application Server 4.
    Test Id (t) Test Item (i) Input Spec (o) Output Spec (e) Env needs (d) Intercase dependencies /Notes
    asd_001 Servers node
    1. Expand Servers node
    Verify that Servers node contain "Bundled Tomcat (5.5.17)" subnode


    asd_002 Closing "Add Server ..." context menu
    1. Select Servers node
    2. Right click
    3. Type Esc key
    4. Right click
    5. Select any other node
    Verify that context menu is closing after 3) and 5)


    asd_003 "Add Server Instance" dialog
    1. Select Servers node
    2. Right click
    3. Left click "Add Server ..."
    Verify that:
    • Servers dropdown list contains: BEA WebLogic Server 9, JBoss Application Server 4, Sun Java System Application Server, Tomcat 5.0, Tomcat 5.5
    • These servers enter in indicated above order
       
    asd_004

    "Add Server Instance" dialog; Step 1; Name
    1. Choose "JBoss Application Server 4" in dropdown list
    Verify that "JBoss Application Server 4" value appear in Name text filed
       
    asd_005 "Add Server Instance" dialog; Step 2; Nothing entered
    1. Click Next button
    Verify that:
    • Nothing is entered in "Installation Location" text field
    • String "Provide a valid JBoss Application Server 4 Installation Location" is displayed at the bottom
       
    asd_006 "Add Server Instance" dialog; Step 2; Enter Installation Location - Browse
    1. Click Browse button next to Installation Location text field
    2. Find JBoss install location and click Open button
    Verify that:
    1. "Open" dialog appear
      • "Open" dialog disappear
      • JBoss install location appear in Installation Location text field
       
    asd_007 "Add Server Instance" dialog; Step 2; Enter Installation Location - Enter location
    1. Remove all from Installation Location text field
    2. Enter JBoss install location
    Verify that:
    1. Nothing is entered in Installation Location text field
    2. JBoss install location appear in Installation Location text field
       
    asd_008 "Add Server Instance" dialog; Step 3
    1. Click Next
    2. Choose domain. Click Finish button
    Verify that:
      • Domain dropdown list contains list of domains
      • Path to domain is entered in Domain Path text field
      • Host is entered in Host text field
      • Port is entered in Port text field
    1. "JBoss Application Server 4" node appear as subnode of Servers node
       


    Deployment Server node

    Test Id (t) Test Item (i) Input Spec (o) Output Spec (e) Env needs (d) Intercase dependencies /Notes
    dsn_001 Appearing JBoss Application Server 4 node context menu
    1. Select JBoss Application Server 4 node
    2. Right click
    Verify that JBoss Application Server 4 node context menu is appearing and is including following items:
    • Start
    • Start in Debug mode
    • Restart
    • Stop
    • Refresh
    • Remove
    • View Admin Console
    • View JMX Console
    • View Server Log
    • Properties
       
    dsn_002 Correctness of display of items of the menu
    1. Select JBoss Application Server 4 node
    2. Right click
    Verify that:
    1. State of JBoss Application Server 4 is stopped
    2. All items are enabled, except Restart, Stop


    dsn_003 Correctness of display of items of the menu
    1. Start JBoss Application Server 4. Select JBoss Application Server 4 node
    2. Right click
    3. Stop JBoss Application Server 4
    Verify that:
    1. State of JBoss Application Server 4 is running
    2. All items are enabled, except Start and Start in Debug Mode


    dsn_004 Start
    1. Select JBoss Application Server 4 node. Right click. Select Start
    Verify that:
    • String "Starting JBoss Application Server 4" appear in the status bar
    • After some time JBoss Application Server 4 is running and it is marked accordingly


    dsn_005 Restart
    1. Select JBoss Application Server 4 node. Right click. Select Restart
    Verify that:
    • String "Restarting JBoss Application Server 4" appear in the status bar
    • After some time JBoss Application Server 4 is running and it is marked accordingly


    dsn_006 Stop
    1. Select JBoss Application Server 4 node. Right click. Select Stop
    Verify that:
    • String "Stopping JBoss Application Server 4" appear in the status bar
    • After some time JBoss Application Server 4 is stopped and it is marked accordingly


    dsn_007 Start in Debug Mode
    1. Select JBoss Application Server 4 node. Right click. Select Start in Debug Mode
    Verify that:
    • String "Starting JBoss Application Server 4 in Debug Mode" appear in the status bar
    • After some time JBoss Application Server 4 is running and it is marked accordingly


    dsn_008 Refresh
    1. Select JBoss Application Server 4 node. Right click. Select Refresh
    Verify that JBoss Application Server 4 node and subnodes are refreshed

    dsn_009 Admin console
    1. Select JBoss Application Server 4 node. Right click. Select View Admin Console
    Verify that browser is opened and Admin Console appears in it
       
    dsn_010 JMX console
    1. Select JBoss Application Server 4 node. Right click. Select View JMX Console
    Verify that browser is opened and JMX Console appears in it
       
    dsn_011 Server Log
    1. Select JBoss Application Server 4 node. Right click. Select View Server Log
    Verify that Server Log appear    
    dsn_012 Properties
    1. Select JBoss Application Server 4 node. Right click. Select Properties
    Verify that:
    • Server Manager is opened
    • JBoss Application Server 4 node is selected
    • JBoss Application Server 4 properties are displayed at the right pane
       
    dsn_013 Remove
    1. Stop JBoss Application Server 4. Select JBoss Application Server 4 node. Right click. Select Remove
    2. Add JBoss Application Server 4 back
    1. Verify that JBoss Application Server 4 node is removed from Servers node




    Applications node

    Test Id (t) Test Item (i) Input Spec (o) Output Spec (e) Env needs (d) Intercase dependencies /Notes
    dcn_001 Appearing Applications node context menu
    1. Select Applications node. Right click
    Verify that Applications node context menu appear and it include following items:
    • Refresh
       
     dcn_002 Closing Applications node context menu 
    1. Select Applications node. Right click. Type Esc key
    Verify that context menu is closing    
    dcn_003 Expanding Applications node
    1. Expand Applications node.
    Verify that Applications node contains following nodes:
    • Enterprise Applications
    • EJB Modules
    • Web Applications
       
    dcn_004 Refreshing Applications node tree
    1. Create New project. Build and Run project. Select Applications node. Right click. Left click Refresh
    Verify that Applications node tree was refreshed and the application is visible as node under Applications->Web Applications    
    dcn_005 Appearing Web Applications node context menu
    1. Select Applications->Web Applications node. Right click
    Verify that Web Applications node context menu appear and it include following items:
    • Refresh
       
     dcn_006 Closing Web Applications node context menu 
    1. Select Applications->Web Applications node. Right click. Type Esc key
    Verify that context menu is closing    
    dcn_007 Refreshing Web Applications node tree
    1. Create New project. Build and Run project. Select Applications->Web Applications node. Right click. Left click Refresh
    Verify that Web Applications node tree was refreshed and the application is visible as node under Applications->Web Applications    


    Deployment

    Setup (e): Install supported DBs.
    Test Id (t) Test Item (i) Input Spec (o) Output Spec (e) Env needs (d) Intercase dependencies /Notes
    d_001 Deployment simple application
    1. Create New project
    2. Build and Run project
    Verify that deployment is successful and the application is visible as node under Web Applications    
    d_002 Redeployment simple application
    1. Run existing Project
    Verify that redeployment is successful    
    d_003 Appearing deployed application context menu
    1. Select any deployed application. Right Click
    Verify that context menu appear and is including following items:
    • Open in Browser
    • Undeploy
       
    d_004 Closing Deployed Application Context menu
    1. Select any deployed application
    2. Right Click
    3. Type Esc key
    Verify that Context menu is closing    
    d_005 Open in Browser
    1. Select any deployed application
    2. Right Click
    3. Left click Open in Browser
    Verify that browser is opened and application appears in it    
    d_006 Undeployment application
    1. Select any deployed application
    2. Right Click
    3. Left click Undeploy
    Verify that undeployment is successful and the application is invisible as node under deployed application    
    d_007
    Components
    1. Create New project
    2. Create second page
    3. Create subfolder and third page in it
    4. Add Page Fragment components to every page and add page navigation rules  between them
    5. Add some components to all 3 pages
    6. Build and Run project
    Verify that:
    • Deployment is successful
    • The application is visible as node under deployed application
    • Navigation between pages works
    • All components are displayed correctly


    d_008 Deployment application which using Database connectivity
    1. Copy DB driver jar files to $JBoss_Dir/server/<domain>/lib directory. Restart JBoss
    2. Create New Project
    3. Add to the Project Table component from the JSF palette
    4. Add to the project table PERSON from the Travel Database
    5. Bind the Data Table with the PERSON table
    6. Build and Run project
    7. Repeat for all supported DBs
    Verify that deployment is successful and the application is visible as node under deployed application    
    d_009 Redeployment application which using Database connectivity
    1. In existing project which using Database connectivity drop Data Table, Data Table model, Person model and Person Row set
    2. Build and Run project
    3. Repeat for all supported DBs
    Verify that redeployment is successful    
    d_010 Restart the IDE and deploy
    1. Restart the IDE
    2. Start JBoss
    3. Develop an application with a Data Source (Travel) and a drop down menu
    4. Deploy the application
    5. Restart the IDE
    6. Deploy the previously created application
    7. Add a button, add a drop down menu and bind it with a data source
    8. Redeploy the application
    Verify for the successful deployment .


    d_011 Stop/Start JBoss and deploy
    1. Create an application using a data source
    2. Stop and Start the JBoss
    3. Deploy the application
    Verify for the successful deployment .

    d_012 Stop/Start DB and deploy
    1. Create an application using a data source
    2. Stop and Start the DB
    3. Deploy the application
    4. Repeat for all supported DBs
    Verify for the successful deployment .

    d_013 Stop JBoss and Deploy
    1. Create an application
    2. Stop JBoss
    3. Deploy the application
    During deployment JBoss is started and deployment should be successful.


    d_014 Stop DB and Deploy
    1. Create an application
    2. Stop the DB
    3. Deploy the application
    Deploy should be successful, but in browser exception must be thrown.

    d_015 Change the data source and deploy
    1. Create an application using a data source and a drop down menu
    2. Deploy the application
    3. Add a different data source n the drop down menu
    4. Deploy the application
    Deploy should be successful and every time it should display a different data source



     

    Approvals

     
    Reviewer Name & Title Date


    Revision History

     
    Author Date Description
    Roman Mostyka
    Sep-19-2007
    Created for NetBeans 6.0

     


    Project Features

    About this Project

    QA was started in November 2009, is owned by Jiří Kovalský, and has 97 members.
    By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
     
     
    Close
    loading
    Please Confirm
    Close