TS 61 WebFreeform

Web freeform Test Specification for NetBeans 6.1

Author: Dan Kolar
Version: 1.2
Last update: 06/24/2008
Introduction:
Comments:

Contents


Test suite: Creating web freeform project

Purpose:
Setup: Tomcat 6.0.16 server installed. Test project downloaded and unpacked.
Invalid chars are */\|:(){}[[ | ]] (on some systems they are ok, but not on Windows)

  1. Name and Locations
    1. Click New Project -> Web -> Web Free-Form Project -> Next
    2. Click Browse and browse to folder containing test project, click on project folder -> Open
    3. Invalid Location:Insert anywhere illegal char(*|:) or invalid pathEXPECTED RESULT: Red warning appears.
    4. Invalid Build script:Insert anywhere illegal char(*|:) or invalid pathEXPECTED RESULT: Red warning appears.
    5. Invalid Project Name:Insert anywhere illegal char(*|:)EXPECTED RESULT: No red warning appears,issue 98013.
    6. Invalid Project Folder:Insert anywhere illegal char(*|:) or invalid pathEXPECTED RESULT: No red warning appears,issue 98013.
    7. Click Next
  2. Build and Run Actions
    1. Check all build targets are listed in target combobox
    2. Reassign some targets
    3. Click Next
  3. Web Sources
    1. Web Pages Folder:Insert anywhere illegal char(*|:) or invalid pathEXPECTED RESULT: No red warning appears, issue 118520
    2. WEB-INF Content:Insert anywhere illegal char(*|:) or invalid pathEXPECTED RESULT: No red warning appears, issue 118520
    3. Switch Java EE Version to 1.3
    4. Switch Java EE Version to 1.4
    5. Switch Java EE Version to Java EE 5
    6. Click Next
  4. Sources Package Folders
    1. Add Folder (Source Package Folders)
      1. Click Add Folder
      2. Select src-utils folder
      3. Click OpenEXPECTED RESULTS: selected folder is added to Package Folder list
    2. Click Move Up on src-utils folder
    3. Click Move Down on src-utils folderEXPECTED RESULTS: Packages moves up and down according to buttons name.
    4. Add Folder (Test Package Folders)
      1. Click Add Folder
      2. Select src-utils folder
      3. Click OpenEXPECTED RESULTS: Warning window Package Folder Already Used in Project is shown
    5. Switch Source level to 1.3
    6. Switch Source level to 1.4
    7. Switch Source level to 1.5
    8. Change encoding to Windows-cp1251
    9. Change encoding to UTF-8EXPECTED RESULTS: Actions are done as they should be. No exceptions or errors appears.
    10. Click Next
  5. Java Sources Classpath
    1. Adding JAR
      1. Click Add JAR/Folder
      2. Browse inside jarlib folder
      3. Hold Shift and click on both jars in jarlib folder
      4. Click OpenEXPECTED RESULT: Path to recently added jars are added to Java Sources classpath
    2. Adding Folder
      1. Click Add JAR/Folder
      2. Browse to classlib folder
      3. Select classlib folder
      4. Click OpenEXPECTED RESULT: Path to recently added folder is added to Java Sources classpath
    3. Select 1st path in the list and click Move Down
    4. Select last path in the list and click Move UpEXPECTED RESULT: Paths are moved accordingly to buttons description
    5. Select path to classlib folder and click RemoveEXPECTED RESULT: Path is removed
    6. Repeat step 5.2
    7. Click Next
  6. Project Output
    1. Click Add JAR/Folder
    2. Browse to builds folder
    3. Select builds folder
    4. Click OpenEXPECTED RESULT: Path to recently added builds folder is added to Project Output
    5. Click Browse..
    6. Browse to javadoc folder
    7. Select javadoc folder
    8. Click OpenEXPECTED RESULT: Path to recently added javadoc folder is added to Javadoc Output
    9. Click Next
  7. Web Sources Classpath
    1. Add some folder
    2. Add jar file
    3. Move Up the 2nd one
    4. Move Down the 1st one
    5. Remove folder
    6. Java sources classpath can't be removed
    7. Remove jarEXPECTED RESULTS: Actions are done as they should be. No exceptions or errors appears.
    8. FinishEXPECTED RESULTS: Project is successfuly created. No exceptions or errors appears.


Test suite: Testing basic actions on project

Purpose:
Setup: Opened test project. Apache Tomcat 6.0.16 registered (with implicit user/passw tomcat/tomcat) and started.
All actions are invoked by right-click on project.

  1. Simple actions
    1. Invoke BuildEXPECTED RESULTS: Project is successfuly built.
    2. Invoke Build&CleanEXPECTED RESULTS: Project is successfuly built.
    3. Invoke CleanEXPECTED RESULTS: Project is successfuly built.
    4. Invoke Set as Main ProjectEXPECTED RESULTS: Project is set as main project.
  2. Complex actions I
    1. Generate Javadoc
      1. Invoke Generate JavadocEXPECTED RESULTS: Project successfuly generates javadoc.
    2. Invoke RunEXPECTED RESULTS: Project is successfuly built and deployed. Default web browser window is opened and 'FreeForm Project Usability Study' page is shown.
    3. Invoke RedeployEXPECTED RESULTS: Project is successfuly built, undeployed and deployed.
  3. Complex actions II
    1. Invoke Rename
    • Clickk "Also Rename Project Folder"
    • Change project name to another, with illegal charsEXPECTED RESULT: Red warning appears and Rename is disabled.
    • Change project name to another, valid one
    • Click RenameEXPECTED RESULT: Project is renamed, no errors appear. Project folder is renamed as well.
    1. Invoke Move
    • Change Project Location to another, with illegal charsEXPECTED RESULT: Red warning appears and Move is disabled.
    • Change Project Location to another, valid one
    • Click MoveEXPECTED RESULT: Project is moved, no errors appear.
    1. Invoke Copy
    • Click CopyEXPECTED RESULT: Project is copied, no errors appear. Both the original and new project are the same except for their names.
    1. Invoke CloseEXPECTED RESULT: Project is closed, no errors appear.
    2. Reopen project.
    3. Invoke Delete
    • Check "Also Delete Sources.."
    • Click DeleteEXPECTED RESULT: Project is deleted, no errors appear.




Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo