You are on page 1of 2

Test Case Format with Example

Example Scenario
Based on the above template, below is an example that showcases the concepts in a more
understandable way.

Suppose you are testing the login functionality of any web application, say Facebook. Below are the test
cases for the same:

Test Scenario ID Login-1 Test Case ID Login-1A


Test Case Login – Positive test case Test Priority High
Description
Pre-Requisite A valid user account Post-Requisite NA
Test Execution Steps:

S.No Action Inputs Expected Actual Test Test Test


Output Output Brows Result Comments
er
1 Launch https://www.fac Facebook Facebook IE -11 Pass [Priya
application ebook.com/ home home 12/17/2016
11:44 AM]:
Launch
successful
2 Enter Email id : Login success Login IE -11 Pass [Priya
correct test@xyz.com success 12/17/2016
Email & Password: 11:45 AM]:
Password ****** Login
and hit successful
login button

Test Scenario ID Login-1 Test Case ID Login-1B


Test Case Login – Negative test case Test Priority High
Description
Pre-Requisite NA Post-Requisite NA
Test Execution Steps:

S.No Action Inputs Expected Actual Test Test Test


Output Output Browser Result Comments
1 Launch https://www.facebo Facebook Facebook IE -11 Pass [Priya
application ok.com/ home home 12/17/201
6 11:44
AM]:
Launch
successful
2 Enter Email id : The email The email IE -11 Pass [Priya
invalid invalid@xyz.com address or address or 12/17/201
Email & Password: ****** phone phone 6 11:45
any number number AM]:
that you've that
Password Invalid
entered you've
and hit doesn't entered login
login match any doesn't attempt
button account. match any stopped
Sign up for account.
an account. Sign up
for an
account.

3 Enter valid Email id : The The IE -11 Pass [Priya


Email & valid@xyz.com password password 12/17/201
incorrect Password: ****** that you've that 6 11:46
Password entered is you've AM]:
incorrect. entered is
and hit Invalid
Forgotten incorrect.
login password? Forgotten login
button password attempt
? stopped

You might also like