Test Cases

Release Information

Project:
Internal Release Number: 1.0.0
Release Audience:
General availability release
Customer-specific release: CUSTOMER(S)
Developer release (Internal usage only)
Early access release (Controlled external access)
Attached Worksheets:
Related Documents:
Links to Relevant Standards
Links to Other Documents

Introduction

Why is a Test Case needed?

A Test Case tells us "how" testing is done in contrast to a Test Plan which tells us "why" and "when" to test.

A Test Case is needed to provide a documented, repeatable, stepwise process that always tests a specific software component the same way. If a software defect is discovered during Test Case execution, then the Test Case can be used to receate the problem for the developer. When a developer corrects a defect discovered by Test Case execution, the same Test Case can be repeated to confirm the correction.

The test cases should be written in enough detail that they could be given to a new team member who would be able to quickly start to carry out the tests and find defects.

================================================================================

FTPOS-01.0: Menu Navigation via Application Controls (positive)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate Page Menu Navigation using only menu links
Success Criteria:
  • All primary function menus can be traversed (arrive and return)
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_A List of menu choices
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 and 003 for each test data set menu name start and end on PetStore2 home page ...
002 click on next test data set menu name (upper rt of page) next menu is displayed ...
003 click on "home" (upper rt of page) PetStoe2 home page is re-displayed ...

FTPOS-02.0: Menu Navigation via Browser Controls (positive)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate Page Menu Navigation using menu links and browser buttons
Success Criteria:
  • All primary function menus can be traversed (arrive and return)
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_A List of menu choices
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 and 003 for each test set data menu name start and end on PetStore2 home page ...
002 click on next test set data menu name (upper rt of page) next menu is displayed ...
003 click on browser "back" button PetStoe2 home page is re-displayed ...

FTPOS-03.0: Seller - Happy Path (positive)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate basic operational readiness of the Seller module with all correct inputs and menu selections.
Success Criteria:
  • The input seller information is correctly displayed on submission.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_B Test data set 01
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 select "Seller" from the main menu the page "Information about Your Pet" appears ...
002 Using the test data set, enter all data values for this page no error messages displayed ...
003 click the "next" button on the current page the page "Information About Yourself" appears ...
004 Using the test data set, enter all data values for this page no error messages displayed ...
005 click the "submit" button on the current page all of the Seller data from this data set are displayed ...
006 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-04.0: Seller - Happy Path (blank tolerance)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that blank input fields will not inhibit correct behavior of the Seller module
Success Criteria:
  • The input seller information is correctly displayed on submission.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_C Test data sets 02 through 13
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 007 for each test data set start and end on PetStore2 home page ...
002 select "Seller" from the main menu the page "Information about Your Pet" appears ...
003 Using the test data set, enter all data values for this page no error messages displayed ...
004 click the "next" button on the current page the page "Information About Yourself" appears ...
005 Using the test data set, enter all data values for this page no error messages displayed ...
006 click the "submit" button on the current page all of the Seller data from this data set are displayed ...
007 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-05.0: Seller - Happy Path (pet description format tolerance)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that different kinds of valid text in the pet description input field will not inhibit correct behavior of the Seller module
Success Criteria:
  • The input seller information is correctly displayed on submission.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_D Test data sets 14 through 17
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 007 for each test data set start and end on PetStore2 home page ...
002 select "Seller" from the main menu the page "Information about Your Pet" appears ...
003 Using the test data set, enter all data values for this page no error messages displayed ...
004 click the "next" button on the current page the page "Information About Yourself" appears ...
005 Using the test data set, enter all data values for this page no error messages displayed ...
006 click the "submit" button on the current page all of the Seller data from this data set are displayed ...
007 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-06.0: Seller - Happy Path (pet price format tolerance)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that different kinds of valid numeric values in the pet price input field will not inhibit correct behavior of the Seller module
Success Criteria:
  • The input seller information is correctly displayed on submission.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_E Test data sets 18 through 26
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 007 for each test data set start and end on PetStore2 home page ...
002 select "Seller" from the main menu the page "Information about Your Pet" appears ...
003 Using the test data set, enter all data values for this page no error messages displayed ...
004 click the "next" button on the current page the page "Information About Yourself" appears ...
005 Using the test data set, enter all data values for this page no error messages displayed ...
006 click the "submit" button on the current page all of the Seller data from this data set are displayed ...
007 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-07.0: Seller - Happy Path (pet image format tolerance)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that different kinds of valid image links in the pet image browse field will not inhibit correct behavior of the Seller module
Success Criteria:
  • The input seller information is correctly displayed on submission.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_F Test data sets 27 through 34
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 007 for each test data set start and end on PetStore2 home page ...
002 select "Seller" from the main menu the page "Information about Your Pet" appears ...
003 Using the test data set, enter all data values for this page no error messages displayed ...
004 click the "next" button on the current page the page "Information About Yourself" appears ...
005 Using the test data set, enter all data values for this page no error messages displayed ...
006 click the "submit" button on the current page all of the Seller data from this data set are displayed ...
007 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-08.0: Search - Happy Path (positive)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate basic operational readiness of the Search module with all correct inputs.
Success Criteria:
  • The reqested seller is correctly found and displayed.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_G Test data set 01 search values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 select "Search" from the main menu the Search page appears ...
002 repeat steps 003 through 005 for each test data set search value start and end on PetStore2 home page ...
003 Using the test data set, enter the next search value and un-check the "Also Search Tags" box no error messages displayed ...
004 click the "submit" button on the current page the Seller page corresponding to the search value always appears unless the search vaule is the Seller tag ...
005 click the "reset" button the search string input field is cleared ...
006 select "Home" from the current page menu PetStore2 home page is displayed ...
007 select "Search" from the main menu the Search page appears ...
008 repeat steps 009 through 011 for each test data set search value start and end on PetStore2 home page ...
009 Using the test data set, enter the next search value and check the "Also Search Tags" box no error messages displayed ...
010 click the "submit" button on the current page the Seller page corresponding to the search value aways appears ...
011 click the "reset" button the search string input field is cleared ...
012 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-09.0: Search - Happy Path (not-found tolerance)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that the "not found" state will not inhibit the correct behavior of the Search module.
Success Criteria:
  • The reqested seller is correctly found and displayed.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_H test data set search values guaranteed not to be available from Search module inputs
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 select "Search" from the main menu the Search page appears ...
002 repeat steps 003 through 005 for each test data set search value start and end on PetStore2 home page ...
003 Using the test data set, enter the next search value and un-check the "Also Search Tags" box no error messages displayed ...
004 click the "submit" button on the current page a "not found" message appears ...
005 click the "reset" button the search string input field is cleared ...
006 select "Home" from the current page menu PetStore2 home page is displayed ...
007 select "Search" from the main menu the Search page appears ...
008 repeat steps 009 through 011 for each test data set search value start and end on PetStore2 home page ...
009 Using the test data set, enter the next search value and check the "Also Search Tags" box no error messages displayed ...
010 click the "submit" button on the current page a "not found" message appears ...
011 click the "reset" button the search string input field is cleared ...
012 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-10.0: Search - Happy Path (search response timing)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that the Search module returns answers quickly enough. Alternatively, that the search response time is not linear with the lenght of the file being searched.
Success Criteria:
  • The reqested seller is correctly found and displayed within the response time limit.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_I Test data sets 01, 02, (beginning of the search file) 15, 16, 17, (middle of the search file) 33, 34 (end of the search file) search values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 select "Search" from the main menu the Search page appears ...
002 repeat steps 003 through 005 for each test data set search value start and end on PetStore2 home page ...
003 Using the test data set, enter the next search value and un-check the "Also Search Tags" box no error messages displayed ...
004 click the "submit" button on the current page no more than xx seconds elapsed till the results were displayed ...
005 click the "reset" button the search string input field is cleared ...
006 select "Home" from the current page menu PetStore2 home page is displayed ...
007 select "Search" from the main menu the Search page appears ...
008 repeat steps 009 through 011 for each test data set search value start and end on PetStore2 home page ...
009 Using the test data set, enter the next search value and check the "Also Search Tags" box no error messages displayed ...
010 click the "submit" button on the current page no more than xx seconds elapsed till the results were displayed ...
011 click the "reset" button the search string input field is cleared ...
012 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-11.0: Catalog - Happy Path (positive)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate basic operational readiness of the Catalog module with all correct inputs.
Success Criteria:
  • The selected pet is purchased.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_J Test data set catalog select and purchase values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 009 for each test data set of values to purchase a pet start and end on PetStore2 home page ...
002 select "Catalog" from the main menu the Catalog page appears ...
003 select the next catalog category of pet on the left-side menu a scroll bar appears in mid-lower screen with thumbnails of selected category pets for sale ...
004 scroll the selected category pet thumbnails in the direction indicated in the test data set and click on the indicated pet thumbnail the thumbnail pet's catalog summary entry appears in mid-screen ...
005 click the down arrow to the right of the pet's picture for pet details the pet's catalog detailed entry appears in mid-screen ...
006 click the up arrow to the right of the pet's picture to restore the pet summary view the pet's catalog summary entry re-appears in mid-screen ...
007 click the "buy now" button below the pet's picture the PayPal developer sandbox logon page appears in a separate browser page ...
008 close the PayPal developer sandbox logon page (testing of PayPal beyond the scope of this test plan) the pet's catalog summary entry re-aappears in mid-screen ...
009 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-12.0: Catalog - *PayPal (credit approval)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate basic operational readiness of the PayPal interface for payment authorization with all correct inputs.
Success Criteria:
  • Payment is authorized for the selected pet to be purchased.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
  3. (need instructions for the PayPal Developer Sandbox setup here)
Test Tools:
  • None
Test Data:
  • (need PayPal positive test data sets here)
Test startup procedure:
  1. Run PetStore2 application from command line
  2. (need PayPal Developer Sandbox startup procedure here
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 ... ... ...

FTPOS-13.0: Map - Happy Path (positive)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate basic operational readiness of the Map module with all correct inputs.
Success Criteria:
  • The map to the pet seller's address is correctly displayed.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_K Test data set seller address values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 008 for each test data set of seller address values start and end on PetStore2 home page ...
002 select "Map" from the main menu the Map page appears ...
003 select the next catalog category of pet on the page, the center-point address (seller's address), area in miles from the center-point, and click the "map category" button. a Google roadmap appears with the seller address at the center of the map ...
004 click the "satellite" display option at the upper right of the displayed map the displayed map changes from roadmap to topography (land features)and the seller address stays centered on the map. ...
005 click the "hybrid" display option at the upper right of the displayed map the displayed map overlays the topography with the roadmap so that both are visible and the seller address stays centered on the map. ...
006 click the "map" display option at the upper right of the displayed map the displayed map reverts to the originally displayed roadmap and the seller address stays centered on the map. ...
007 click the "back" button in the map display page the Map page re-appears ...
008 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-14.0: Map - Happy Path (address format tollerance)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that incomplete seller addresses will not inhibit correct behavior of the Map module.
Success Criteria:
  • The map to the pet seller's address is correctly displayed once sufficient address information is provide.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_L Test data set seller address values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 005 for each test data set of seller address values start and end on PetStore2 home page ...
002 select "Map" from the main menu the Map page appears ...
003 select the next catalog category of pet on the page, the center-point address (seller's address), area in miles from the center-point, and click the "map category" button. a Google roadmap appears with the seller address at the center of the map ...
004 click the "back" button in the map display page the Map page re-appears ...
005 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-15.0: Map - Happy Path (area tollerance)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate the allowable range of area values for the seller address map.
Success Criteria:
  • The map to the pet seller's address is correctly displayed with any area value in the allowable range.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_M Test data set seller address values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 005 for each test data set of seller address values start and end on PetStore2 home page ...
002 select "Map" from the main menu the Map page appears ...
003 select the next catalog category of pet on the page, the center-point address (seller's address), area in miles from the center-point, and click the "map category" button. a Google roadmap appears with the seller address at the center of the map ...
004 click the "back" button in the map display page the Map page re-appears ...
005 select "Home" from the current page menu PetStore2 home page is displayed ...

FTPOS-16.0: Tags - Happy Path (positive)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate basic operational readiness of the Tag module with all correct choices.
Success Criteria:
  • The pet selected by tags is correctly displayed.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTPOS_Test_Data_Set_N Test data set pet tag values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 006 for each test data set of tag values start and end on PetStore2 home page ...
002 select "Tags" from the main menu the Tag page appears ...
003 select the next tag hotlink. a list of pet names, descriptions, and price appears for the chosen tag ...
004 click the next pet name in the tag list the chosen pet catalog entry appears ...
005 click the "back" button in the map display page the Tag page re-appears ...
006 select "Home" from the current page menu PetStore2 home page is displayed ...

================================================================================

FTNEG-01.0: Seller - Happy Path (illegal pet price format defense)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that illegal format values in the pet price field will not inhibit correct behavior of the Seller module
Success Criteria:
  • The input seller module rejects seller entries with invalid pet prices.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTNEG_Test_Data_Set_A Test data sets 101 through 104
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 005 for each test data set start and end on PetStore2 home page ...
002 select "Seller" from the main menu the page "Information about Your Pet" appears ...
003 Using the test data set, enter all data values for this page no error messages displayed ...
004 click the "next" button on the current page an error message about invalid pet price appears ...
005 select "Home" from the current page menu PetStore2 home page is displayed ...

FTNEG-02.0: Seller - Happy Path (illegal pet image format defense)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that illegal format files in the pet image browse field will not inhibit correct behavior of the Seller module
Success Criteria:
  • The input seller module rejects seller entries with invalid pet image file references.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTNEG_Test_Data_Set_B Test data sets 105 through 108
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 005 for each test data set start and end on PetStore2 home page ...
002 select "Seller" from the main menu the page "Information about Your Pet" appears ...
003 Using the test data set, enter all data values for this page no error messages displayed ...
004 click the "next" button on the current page an error message about invalid pet image appears ...
005 select "Home" from the current page menu PetStore2 home page is displayed ...

FTNEG-03.0: Catalog - *PayPal (payment format defense)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that illegal format values in the payment credit authorization fields will not inhibit correct behavior of the PayPal application and subsequent interface back to PetStore2.
Success Criteria:
  • PayPal rejects payment credit requests with invalid authorization fields.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
  3. (need instructions for the PayPal Developer Sandbox setup here)
Test Tools:
  • None
Test Data:
  • (need PayPal negative test data sets here)
Test startup procedure:
  1. Run PetStore2 application from command line
  2. (need PayPal Developer Sandbox startup procedure here
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 ... ... ...

FTNEG-04.0: Map - Happy Path (illegal area format defense)

Use Cases Covered: Design Architecture Design - Architecture
Actor:
  • Any End-User
Testing Goal:
  • Validate that illegal format values in the map area field will not inhibit correct behavior of the Map module.
Success Criteria:
  • The Map module rejects area entries with invalid miles.
Test Environment Setup:
  1. Start SDK5 Admin Server from command line
  2. Start PetStore2 domain from command line
Test Tools:
  • None
Test Data: FTNEG_Test_Data_Set_C Test data set illegal map area values
Test startup procedure:
  1. Run PetStore2 application from command line
Test closedown procedure:
  1. Close internet browser
Testreset procedure for rerun:
  1. Same as Test startup procedure.
Step # Step Action Expected Results Actual Results
Start View PetStore2 home page PetStore2 home page is displayed ...
001 repeat steps 002 through 005 for each test data set of area miles values start and end on PetStore2 home page ...
002 select "Map" from the main menu the Map page appears ...
003 select the next catalog category of pet on the page, enter the center-point address (seller's address), enter the area in miles from the center-point, and click the "map category" button. an error message about invalid area in miles appears ...
004 click the "back" button in the map display page the Map page re-appears ...
005 select "Home" from the current page menu PetStore2 home page is displayed ...

Suggested test step action verbs

Each step can be written very tersely using the following keywords:

login [as ROLE-OR-USER]
Log into the system with a given user or a user of the given type. Usually only stated explicitly when the test case depends on the permissions of a particular role or involves a workflow between different users.
visit LOCATION
Visit a page or screen. For web applications, LOCATION may be a hyperlink. The location should be a well-known starting point (e.g., the Login screen), drilling down to specific pages should be part of the test.
enter FIELD-NAME [as VALUE] [in SCREEN-LOCATION]
Fill in a named form field. VALUE can be a literal value or the name of a variable defined in the "Test Data" section. The FIELD-NAME itself can be a variable name when the UI field for that value is clear from context, e.g., "enter password".
enter FIELDS
Fill in all fields in a form when their values are clear from context or when their specific values are not important in this test case.
click "LINK-LABEL" [in SCREEN-LOCATION]
Follow a labeled link or press a button. The screen location can be a predefined panel name or English phrase. Predefined panel names are based on GUI class names, master template names, or titles of boxes on the page.
click BUTTON-NAME [in SCREEN-LOCATION]
Press a named button. This step should always be followed by a "see" step to check the results.
see SCREEN-OR-PAGE
The tester should see the named GUI screen or web page. The general correctness of the page should be testable based on the feature description.
verify CONDITION
The tester should see that the condition has been satisfied. This type of step usually follows a "see" step at the end of the test case.
verify CONTENT [is VALUE]
The tester should see the named content on the current page, the correct values should be clear from the test data, or given explicitly. This type of step usually follows a "see" step at the end of the test case.
Company Proprietary
Copyright © 2003-2004 Jason Robbins. All rights reserved. License terms. Retain this copyright statement whenever this file is used as a template.
Copyright © 2005 Jerry Everett, Ken Everett, and Ray McLeod. All rights reserved. License terms. Retain this copyright statement whenever this file is used as a template.