Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Sample of a Test Case 1

ID: 001

Title: Login Page – Authenticate successfully on gmail.com.

Description: A registered user should be able to successfully login at gmail.com.

Preconditions: The user must already be registered with an email address and password.

Test Steps:

1. Navigate to gmail.com

2. In the ’email’ field, enter the email of the registered user.

3. In the ‘Password’ field enter the password of the registered user

4. Click ‘Sign In’ button.

Expected Result: 

1. System should display gmail login page


2. System should accept the entered email
3. System should accept the entered password
4. A page displaying the Gmail user’s inbox should load, showing any new message at the top
of the page.

Sample of a Test Case 2

  Input
  Output

Test case Title: Login

Testcase
Preconditions Steps to be executed Expected result Actual Result Pass/Fail
ID

C00001 User should click For Blank Login 1. Message "Enter a User
Login link. 1. Enter User Name :" " Name"
Login page should 2.Enter Password : " abc" 3. Disallow the user to
load. 3. Click "Ok" button proceed and the error
message should be
displayed
For Blank Password 2. Message "Enter a
1. Enter User Name :"abc " Password"
2. Enter Password : " " 3. Disallows the user to
3. Click "Ok" button proceed and the error
message should be
displayed

Sample of a Test Case 3

Test Case ID
Title
Description
Pre-conditions
Steps
Expected Results
Post conditions *
* shows the following field is optional

You might also like