Project: | PROJECT-NAME |
---|---|
Internal Release Number: | X.Y.Z |
Related Documents: |
LINKS-TO-RELEVANT-STANDARDS
LINKS-TO-OTHER-DOCUMENTS
|
Test ID | Summary | Expected Results | Comments |
---|---|---|---|
clearance-1 | Visit the product description page for a clearance product that is in stock. | Inventory field == "In stock". Days until ship == 1. |
All clearance items ship the next day. |
clearance-2 | Visit the product description page for a clearance product that is overstocked. Click "Overstocked!" link. See bulk purchase options. | Inventory field == "Overstocked!" link. Days until ship == 1. Bulk minimum = product items-per-palette |
Let customers and partners know that we are overstocked and willing to ship in bulk. |
inventory-1 | Visit the product description page for a normal product that is in stock or overstocked. | Inventory field == "In stock". Days until ship == 1 or 2. |
Products with SKU = "81xx-*" ship in 1 day, others ship in 2 days. |
inventory-2 | Visit the product description page for a normal product that is back-ordered. Click "Estimate ship date". Click "Accept". | Inventory field == "Out of stock". Days until ship == backorder delivery date + unpack + 1 or 2. |
Products with SKU = "81xx-*" add 1 day, others add 2 days. |
subscribe-1 | Visit the product description page for a subscription product with weekly or monthly publication period. | Inventory field == "In stock" or "Out of stock" depending on stock level. | Products with SKU = "12xx-*-01" are weekly, "12xx-*-02" are monthly, "12xx-*-04" are annual. |
subscribe-2 | Visit the product description page for a subscription product with annual publication period. | Inventory field == "In stock". | Annual subscriptions will always be restocked in time. |
General comments: In all cases, the sales price and sale duration are not affected by stock level status. |
Test ID | Summary | Expected Results | Comments |
---|---|---|---|
UNIQUE-TEST-ID-1 | PURPOSE, PRECONDITIONS, STEPS, AND TEST DATA. | SPECIFIC-EXPECTED-OUTPUT | NOTES and QUESTIONS. |
UNIQUE-TEST-ID-2 | PURPOSE, PRECONDITIONS, STEPS, AND TEST DATA. | SPECIFIC-EXPECTED-OUTPUT | NOTES and QUESTIONS. |
UNIQUE-TEST-ID-3 | PURPOSE, PRECONDITIONS, STEPS, AND TEST DATA. | SPECIFIC-EXPECTED-OUTPUT | NOTES and QUESTIONS. |
UNIQUE-TEST-ID-4 | PURPOSE, PRECONDITIONS, STEPS, AND TEST DATA. | SPECIFIC-EXPECTED-OUTPUT | NOTES and QUESTIONS. |
General comments: COMMON CHARACTERISTICS OF ALL TESTS IN BATTERY. QUESTIONS and NOTES. |
Purpose: | Test that a user can log in with the proper username or email address and password. |
---|---|
Preconditions: |
User is not already logged in.
User testuser exists, and account is in good standing.
|
Test Data: |
usernameOrEmail = {testuser, testuser@domain.com}
password = {valid}
|
Steps: |
|
Notes and Questions: |
|
Purpose: | Test that users can not log in with improper username, email address, or password. |
---|---|
Preconditions: |
User is not already logged in.
User bogususer does not exist.
|
Test Data: |
usernameOrEmail = {bogususer, bad@syntax@domain.com, empty}
password = {invalid, empty}
|
Steps: |
|
Purpose: | Test that a user who has been locked out by an administrator cannot log in. User should see a message indicating that he/she was locked out. |
---|---|
Preconditions: |
User is not already logged in.
User testuser2 exists and has been locked out
|
Test Data: |
usernameOrEmail = {testuser2, testuser2@domain.com}
password = {valid}
|
Steps: |
|
Notes and Questions: |
|
Purpose: | Test that a user who enters an incorrect password three times is locked out and must contact customer service. |
---|---|
Preconditions: |
User is not already logged in.
User testuser exists and is not already locked out
|
Test Data: |
usernameOrEmail = {testuser2, testuser2@domain.com}
password = {invalid}
|
Steps: |
|
Notes and Questions: |
|
Purpose: | Test that a new user can create a user account. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Preconditions: | testuser is not already registered. | ||||||||||||||
Test Data: |
username = {testuser}
realname = {"Test E. User"}
email = {testuser@domain.com}
|
||||||||||||||
Steps: |
|
Purpose: | Test that a user can update his/her account information. |
---|---|
Preconditions: | User account testuser exists and is in good standing. |
Test Data: |
realname = {"New Name"}
email = {new.email@domain.com}
|
Steps: |
|
Purpose: | Test that a user can NOT update his/her account information with invalid values. |
---|---|
Preconditions: | User account testuser exists and is in good standing. |
Test Data: |
realname = {'hopeful"hacker', 'Andy <tag>'}
email = {bad@syntax@domain.com, blank}
password = {same as username, repeated chars, too short,
includes domain name, blank, non-matching}
|
Steps: |
|
Notes and Questions: |
|
Purpose: | Test that a user can request a new password. |
---|---|
Preconditions: | User testuser exists and is not locked out. |
Test Data: |
usernameOrEmail = {testuser, testuser@domain.com}
|
Steps: |
|
Purpose: | 1-3 SENTENCES | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Preconditions: | PRECONDITION | ||||||||||
Test Data: |
VARIABLE = {VALUE1, VALUE2, VALUE3, ...}
VARIABLE = { x | DEFINING-CONDITION }
VARIABLE = { DESCRIPTION OR LINK-TO-VALUE-SOURCE }
|
||||||||||
Steps: |
|
||||||||||
Notes and Questions: |
|
Purpose: | 1-3 SENTENCES | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Preconditions: | PRECONDITION | ||||||||||
Test Data: |
VARIABLE = {VALUE1, VALUE2, VALUE3, ...}
VARIABLE = { x | DEFINING-CONDITION }
VARIABLE = { DESCRIPTION OR LINK-TO-VALUE-SOURCE }
|
||||||||||
Steps: |
|
||||||||||
Notes and Questions: |
|
Purpose: | 1-3 SENTENCES | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Preconditions: | PRECONDITION | ||||||||||
Test Data: |
VARIABLE = {VALUE1, VALUE2, VALUE3, ...}
VARIABLE = { x | DEFINING-CONDITION }
VARIABLE = { DESCRIPTION OR LINK-TO-VALUE-SOURCE }
|
||||||||||
Steps: |
|
||||||||||
Notes and Questions: |
|
Purpose: | SENTENCES |
---|---|
Preconditions: | SENTENCES |
Test Data: |
VAR = {VALUES}
VAR = {VALUES}
|
Steps: |
|
Notes and Questions: |
|
Purpose: | SENTENCES |
---|---|
Preconditions: | SENTENCES |
Test Data: |
VAR = {VALUES}
VAR = {VALUES}
|
Steps: |
|
Notes and Questions: |
|
Purpose: | SENTENCES |
---|---|
Preconditions: | SENTENCES |
Test Data: |
VAR = {VALUES}
VAR = {VALUES}
|
Steps: |
|
Notes and Questions: |
|