ReadySetGit/Test-Cases.md

367 lines
8.8 KiB
Markdown
Raw Normal View History

2023-03-24 16:29:16 +00:00
<!-- markdownlint-disable-next-line first-line-h1 -->
2018-08-23 17:23:45 +00:00
##### Project
2018-08-24 10:30:24 +00:00
2018-08-23 17:23:45 +00:00
::[PROJECT-NAME](Home)
2018-08-14 12:48:17 +00:00
2018-08-23 17:23:45 +00:00
##### Internal Release Number
2018-08-24 10:30:24 +00:00
2018-08-14 12:48:17 +00:00
::X.Y.Z
2018-08-23 17:23:45 +00:00
##### Related Documents
2018-08-24 10:30:24 +00:00
2018-08-14 22:37:52 +00:00
[QA Plan](QA-Plan) > [Test Suite](Test-Suite) > Test Cases
[System test case format](Test-Case-Format)
2018-08-14 12:48:17 +00:00
::LINKS TO RELEVANT STANDARDS
::LINKS TO OTHER DOCUMENTS
2018-08-24 10:30:24 +00:00
2018-08-14 12:48:17 +00:00
---
2018-08-14 22:37:52 +00:00
2018-08-14 12:48:17 +00:00
### login-1: Normal User Login
2018-08-14 22:37:52 +00:00
2018-08-24 10:30:24 +00:00
**Purpose:**
::Test that users can log in with the proper username or
2018-08-14 12:48:17 +00:00
email address and their password.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
2018-08-14 12:48:17 +00:00
::User is not already logged in.
2018-08-24 10:30:24 +00:00
::User test-user exists, and account is in good standing.
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
**Test Data:**
::usernameOrEmail = {test-user, bogus-user, test-user@nospam.com,
2018-08-14 12:48:17 +00:00
test@user@nospam.com, empty}
::password = {valid, invalid, empty}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter userID
- ::enter password
- ::click login
- ::see the terms of use page
- ::click agree radio button at page bottom
- ::click submit button
- ::see PersonalPage
- ::verify that welcome message is correct username
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::This assumes that user has not agreed to terms-of-use already.
- ::Does this work without browser cookies?
---
2018-08-24 10:30:24 +00:00
2018-08-14 12:48:17 +00:00
### login-2: Locked-out User Login
2018-08-14 22:37:52 +00:00
2018-08-24 10:30:24 +00:00
**Purpose:**
::Test that a user who has been locked out by a moderator, cannot
2018-08-24 11:39:52 +00:00
log in, They should see a messagaddede indicating that they were locked
2018-08-14 12:48:17 +00:00
out.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
2018-08-14 12:48:17 +00:00
::User is not already logged in.
2018-08-24 10:30:24 +00:00
::User test-user2 exists, and has been locked out
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
**Test Data:**
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
::usernameOrEmail = {test-user2, test-user2@nospam.com}
2018-08-14 12:48:17 +00:00
::password = {valid}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter usernameOrEmail
- ::enter password
- ::click Login
- ::see LoginPage
- ::verify warning message is the locked-out message
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::Does this work without browser cookies?
2018-08-24 11:39:52 +00:00
---
2018-08-14 12:48:17 +00:00
### unique-test-case-id1: Test Case Title
2018-08-24 10:30:24 +00:00
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
2018-08-14 12:48:17 +00:00
up or put more information into the feature descriptions.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
::Assumptions that must be met before the test case can be run.
E.g., &quot;logged in&quot;, &quot;guest login allowed&quot;,
&quot;user test-user exists&quot;.
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
2023-03-24 16:29:16 +00:00
should be performed once for each _combination_ of values. These
2018-08-14 12:48:17 +00:00
values are written in set notation, one per line. E.g.:
2018-08-24 10:30:24 +00:00
- loginID = {Valid loginID, invalid loginID, valid email, invalid
2018-08-14 12:48:17 +00:00
email, empty}
- password = {valid, invalid, empty}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter userID
- ::enter password
- ::click login
- ::see the terms of use page
- ::click agree radio button at page bottom
- ::click submit button
- ::see PersonalPage
- ::verify that welcome message is correct username
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::NOTE
- ::QUESTION
---
2018-08-24 10:30:24 +00:00
2018-08-14 12:48:17 +00:00
### unique-test-case-id2: Test Case Title
2018-08-14 22:37:52 +00:00
2018-08-24 10:30:24 +00:00
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
2018-08-14 12:48:17 +00:00
up or put more information into the feature descriptions.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
::Assumptions that must be met before the test case can be run.
E.g., &quot;logged in&quot;, &quot;guest login allowed&quot;,
&quot;user test-user exists&quot;.
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
2023-03-24 16:29:16 +00:00
should be performed once for each _combination_ of values. These
2018-08-14 12:48:17 +00:00
values are written in set notation, one per line. E.g.:
2018-08-24 10:30:24 +00:00
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
2018-08-14 12:48:17 +00:00
email, empty}
- ::password = {valid, invalid, empty}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter userID
- ::enter password
- ::click login
- ::see the terms of use page
- ::click agree radio button at page bottom
- ::click submit button
- ::see PersonalPage
- ::verify that welcome message is correct username
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::NOTE
- ::QUESTION
2018-08-24 11:39:52 +00:00
---
2018-08-14 12:48:17 +00:00
### unique-test-case-id3: Test Case Title
2018-08-24 10:30:24 +00:00
**Purpose:**
2021-08-01 13:15:57 +00:00
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
2018-08-14 12:48:17 +00:00
up or put more information into the feature descriptions.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
::Assumptions that must be met before the test case can be run.
E.g., &quot;logged in&quot;, &quot;guest login allowed&quot;,
&quot;user test-user exists&quot;.
**Test Data:**
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
2023-03-24 16:29:16 +00:00
should be performed once for each _combination_ of values. These
2018-08-14 12:48:17 +00:00
values are written in set notation, one per line. E.g.:
2018-08-24 10:30:24 +00:00
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
2018-08-14 12:48:17 +00:00
email, empty}
- ::password = {valid, invalid, empty}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter userID
- ::enter password
- ::click login
- ::see the terms of use page
- ::click agree radio button at page bottom
- ::click submit button
- ::see PersonalPage
- ::verify that welcome message is correct username
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::NOTE
- ::QUESTION
---
2018-08-24 10:30:24 +00:00
2018-08-14 12:48:17 +00:00
### unique-test-case-id4: Test Case Title
2018-08-14 22:37:52 +00:00
2018-08-24 10:30:24 +00:00
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
2018-08-14 12:48:17 +00:00
up or put more information into the feature descriptions.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
::Assumptions that must be met before the test case can be run.
E.g., &quot;logged in&quot;, &quot;guest login allowed&quot;,
&quot;user test-user exists&quot;.
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
2023-03-24 16:29:16 +00:00
should be performed once for each _combination_ of values. These
2018-08-14 12:48:17 +00:00
values are written in set notation, one per line. E.g.:
2018-08-24 10:30:24 +00:00
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
2018-08-14 12:48:17 +00:00
email, empty}
- ::password = {valid, invalid, empty}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter userID
- ::enter password
- ::click login
- ::see the terms of use page
- ::click agree radio button at page bottom
- ::click submit button
- ::see PersonalPage
- ::verify that welcome message is correct username
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::NOTE
- ::QUESTION
2018-08-24 11:39:52 +00:00
---
2018-08-14 12:48:17 +00:00
### unique-test-case-id5: Test Case Title
2018-08-24 10:30:24 +00:00
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
2018-08-14 12:48:17 +00:00
up or put more information into the feature descriptions.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
::Assumptions that must be met before the test case can be run.
E.g., &quot;logged in&quot;, &quot;guest login allowed&quot;,
&quot;user test-user exists&quot;.
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
2023-03-24 16:29:16 +00:00
should be performed once for each _combination_ of values. These
2018-08-14 12:48:17 +00:00
values are written in set notation, one per line. E.g.:
2018-08-24 10:30:24 +00:00
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
2018-08-14 12:48:17 +00:00
email, empty}
- ::password = {valid, invalid, empty}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter userID
- ::enter password
- ::click login
- ::see the terms of use page
- ::click agree radio button at page bottom
- ::click submit button
- ::see PersonalPage
- ::verify that welcome message is correct username
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::NOTE
- ::QUESTION
---
2018-08-24 10:30:24 +00:00
2018-08-14 12:48:17 +00:00
### unique-test-case-id6: Test Case Title
2018-08-14 22:37:52 +00:00
2018-08-24 10:30:24 +00:00
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
2018-08-14 12:48:17 +00:00
up or put more information into the feature descriptions.
2018-08-24 10:30:24 +00:00
**Prerequisite:**
::Assumptions that must be met before the test case can be run.
E.g., &quot;logged in&quot;, &quot;guest login allowed&quot;,
&quot;user test-user exists&quot;.
2018-08-14 12:48:17 +00:00
2018-08-24 10:30:24 +00:00
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
2023-03-24 16:29:16 +00:00
should be performed once for each _combination_ of values. These
2018-08-14 12:48:17 +00:00
values are written in set notation, one per line. E.g.:
2018-08-24 10:30:24 +00:00
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
2018-08-14 12:48:17 +00:00
email, empty}
- ::password = {valid, invalid, empty}
2018-08-24 10:30:24 +00:00
**Steps:**
2018-08-14 12:48:17 +00:00
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
- ::enter userID
- ::enter password
- ::click login
- ::see the terms of use page
- ::click agree radio button at page bottom
- ::click submit button
- ::see PersonalPage
- ::verify that welcome message is correct username
2018-08-24 10:30:24 +00:00
**Notes and Questions:**
2018-08-14 12:48:17 +00:00
- ::NOTE
- ::QUESTION