Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JSF Tools Smoke Tests"

(draft)
Line 75: Line 75:
 
'''JSF_012 Semantic Checking'''
 
'''JSF_012 Semantic Checking'''
 
*Steps
 
*Steps
    1. Follow steps in tutorial document.
+
*#Follow steps in tutorial document.
Criteria     Semantic checking performed as suggested in tutorial document.
+
*Criteria
JSF_013 Quick Fix
+
*#Semantic checking performed as suggested in tutorial document.
Steps     1. Follow steps in tutorial document.
+
Criteria     Quick fix performed as suggested in tutorial document.
+
'''JSF_013 Quick Fix'''
JSF_014 Content Assist
+
*Steps
Steps     1. Follow steps in tutorial document.
+
*#Follow steps in tutorial document.
Criteria     Content assist performed as suggested in tutorial document.
+
*Criteria
JSF_015 FacesConfig Editor: Add Managed Bean
+
*#Quick fix performed as suggested in tutorial document.
Steps     1. Follow steps in tutorial document.
+
 
Criteria     Managed bean is added successfully.
+
'''JSF_014 Content Assist'''
JSF_016 FacesConfig Editor: Add JSP pages in Navigation rule tab.
+
*Steps
Steps     1. Follow steps in tutorial document.
+
*#Follow steps in tutorial document.
Criteria     JSP pages are added successfully.
+
*Criteria
JSF_017 FacesConfig Editor: Connect JSP pages in Navigation rule tab.
+
*#Content assist performed as suggested in tutorial document.
Steps     1. Follow steps in tutorial document.
+
 
Criteria     JSP pages are connected successfully.
+
'''JSF_015 FacesConfig Editor: Add Managed Bean'''
JSF_018 FacesConfig Editor: Link properties set up in Navigation rule tab.
+
*Steps
Steps     1. Follow steps in tutorial document.
+
*#Follow steps in tutorial document.
Criteria     Link properties are set up properly as suggested in tutorial document.
+
*Criteria
JSF_019 Runtime: Module dependencies are deployed
+
*#Managed bean is added successfully.
Steps     1. Deploy a JSF web application to a container.
+
 
Criteria     Check if JARs are deployed with the application
+
'''JSF_016 FacesConfig Editor: Add JSP pages in Navigation rule tab.'''
JSF_020 Runtime: Login page displayed
+
*Steps
Steps "    1. Right-click on login.jsp page and perform ""Run on Server""."
+
Follow steps in tutorial document.
Criteria     Web application should be deployed and login page should display properly.
+
*Criteria
JSF_021 "Runtime: Page navigation, login button clicked."
+
*#JSP pages are added successfully.
Steps     1. Enter a value for name and click Login.
+
 
Criteria     Navigate to a welcomed page with name populated from login page.
+
'''JSF_017 FacesConfig Editor: Connect JSP pages in Navigation rule tab.'''
 +
*Steps
 +
*#Follow steps in tutorial document.
 +
*Criteria
 +
*#JSP pages are connected successfully.
 +
 
 +
'''JSF_018 FacesConfig Editor: Link properties set up in Navigation rule tab.'''
 +
*Steps
 +
*#Follow steps in tutorial document.
 +
*Criteria
 +
*#Link properties are set up properly as suggested in tutorial document.
 +
 
 +
'''JSF_019 Runtime: Module dependencies are deployed'''
 +
*Steps
 +
Deploy a JSF web application to a container.
 +
*Criteria
 +
*#Check if JARs are deployed with the application
 +
 
 +
'''JSF_020 Runtime: Login page displayed'''
 +
*Steps
 +
*#Right-click on login.jsp page and perform ""Run on Server""."
 +
*Criteria
 +
*#Web application should be deployed and login page should display properly.
 +
 
 +
'''JSF_021 Runtime: Page navigation.'''
 +
*Steps
 +
*#Enter a value for name and click Login.
 +
*Criteria
 +
*#Navigate to a welcomed page with name populated from login page.

Revision as of 14:58, 1 February 2007

Reference

Tests

JSF_001-Create JSF Library in preference page

  • Steps
    1. Window -> Preferences…->Web and XML -> JSF Libraries
  • Criteria
    • JSF Library is created successfully.

JSF_002-JSF Project Facets Wizard Page

  • Steps
    1. Select ""JavaServer Faces v1.1 Project"" preset in Project Facet Wizard page.
  • Criteria
    • Can select JavaServer Faces preset and move to next page.

JSF_003-JSF Capabilities: JSF Library Wizard Page

  • Steps
    1. Check JSF Capabilities wizard on libraries selection and check for deployment.
  • Criteria
    • Can configure selection of JSF libraries and check for deployment and finish project creation.

JSF_004-Project Creation: JSF Library Reference Property Page

  • Steps
    1. Project properties -> JSF Library Reference.
  • Criteria
    • See the same configuration as configured in JSF_003.

JSF_005 Project Creation: J2EE Module Dependencies

  • Steps
    1. Project properties --> J2EE Module Dependencies
  • Criteria
    • All JARs from JSF libraries checked for deployment should listed in the table.

JSF_006-Project Creation: Java Build Path

  • Steps
    1. Project properties -> Java Build Path
  • Criteria
    • All JARs from selected JSF libraries should be listed in path.

JSF_007-JSF Library Reference Property Page: J2EE Module Dependencies update

  • Steps
    1. Project properties -> JSF Library Reference.
    2. Uncheck/check a selected JSF libraries for deployment.
  • Criteria

JARs from changed JSF library should be added/removed from J2EE Module Dependencies.

JSF_008 JSF Library Reference Property Page: Java Build Path update

  • Steps
    1. Project properties -> JSF Library Reference.
    2. Add/Remove a selected JSF component library.
  • Criteria
  • JARs from the added/removed JSF library should be added/removed from build path.

JSF_009 JSF Facet installation + JSF library reference

  • Steps
    1. Create a web application w/o JSF facet installed during project creation.
    2. Project properties->Project Facets -> Add/Remove Project Facet.

Criteria JSF library references are added. Module dependencies and build path are updated accordingly.

JSF_010 JSF Facet installation/un-installation

  • Steps
    1. Create a web application w JSF facet installed during project creation.
    2. Uninstall JSF facet. Project properties->Project Facets -> Add/Remove Project Facet.
  • Criteria
    1. A JSF facet is uninstalled. But, JSF library reference remain unchanged. Designed behavior.

JSF_011 Syntax Checking

  • Steps
    1. Follow steps in tutorial document.
  • Criteria
    1. Syntax checking performed as suggested in tutorial document.

JSF_012 Semantic Checking

  • Steps
    1. Follow steps in tutorial document.
  • Criteria
    1. Semantic checking performed as suggested in tutorial document.

JSF_013 Quick Fix

  • Steps
    1. Follow steps in tutorial document.
  • Criteria
    1. Quick fix performed as suggested in tutorial document.

JSF_014 Content Assist

  • Steps
    1. Follow steps in tutorial document.
  • Criteria
    1. Content assist performed as suggested in tutorial document.

JSF_015 FacesConfig Editor: Add Managed Bean

  • Steps
    1. Follow steps in tutorial document.
  • Criteria
    1. Managed bean is added successfully.

JSF_016 FacesConfig Editor: Add JSP pages in Navigation rule tab.

  • Steps

Follow steps in tutorial document.

  • Criteria
    1. JSP pages are added successfully.

JSF_017 FacesConfig Editor: Connect JSP pages in Navigation rule tab.

  • Steps
    1. Follow steps in tutorial document.
  • Criteria
    1. JSP pages are connected successfully.

JSF_018 FacesConfig Editor: Link properties set up in Navigation rule tab.

  • Steps
    1. Follow steps in tutorial document.
  • Criteria
    1. Link properties are set up properly as suggested in tutorial document.

JSF_019 Runtime: Module dependencies are deployed

  • Steps

Deploy a JSF web application to a container.

  • Criteria
    1. Check if JARs are deployed with the application

JSF_020 Runtime: Login page displayed

  • Steps
    1. Right-click on login.jsp page and perform ""Run on Server""."
  • Criteria
    1. Web application should be deployed and login page should display properly.

JSF_021 Runtime: Page navigation.

  • Steps
    1. Enter a value for name and click Login.
  • Criteria
    1. Navigate to a welcomed page with name populated from login page.

Back to the top