0% found this document useful (0 votes)
23 views6 pages

Stqa Practical 1 For Test Cases

The document outlines a series of test cases for verifying various login functionalities of a Gmail account, including valid and invalid credentials, password reset, session timeout, and account switching. Each test case includes a description, scenario, data, steps to execute, and expected results. The tests aim to ensure proper handling of user authentication and account management features.

Uploaded by

48Aarti Shele
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views6 pages

Stqa Practical 1 For Test Cases

The document outlines a series of test cases for verifying various login functionalities of a Gmail account, including valid and invalid credentials, password reset, session timeout, and account switching. Each test case includes a description, scenario, data, steps to execute, and expected results. The tests aim to ensure proper handling of user authentication and account management features.

Uploaded by

48Aarti Shele
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODS, PDF, TXT or read online on Scribd
You are on page 1/ 6

Sheet1

Test ID Test Description Test Scenario Test Data

Verify Login with User logs in with correct Valid username,


TC001 Valid Credentials username and password. Valid password

User attempts to log in


Verify Login with with an incorrect Invalid username,
TC002 Invalid Username username. Valid password

User attempts to log in


Verify Login with with an incorrect Valid username,
TC003 Invalid Password password. Invalid password

User attempts to log in


Verify Login with with the username field Empty username,
TC004 Empty Username left empty. Valid password

User attempts to log in


Verify Login with with the password field Valid username,
TC005 Empty Password left empty. Empty password

User attempts to log in


Verify Login with with a temporarily Locked account
TC006 Locked Account locked account. credentials

Verify Login with User logs in with two- Valid username,


Two-Factor factor authentication Valid password,
TC007 Authentication enabled. 2FA code

Verify Forgot User resets their


Password password using the Email address for
TC008 Functionality "Forgot password" link. password reset

Verify Session User's session expires


TC009 Timeout Handling due to inactivity. Logged-in session

Page 1
Sheet1

Verify Account User switches between


Switching multiple Gmail Multiple Gmail
TC010 Functionality accounts. accounts

Page 2
Sheet1

Test Steps Expected Result


1. Navigate to the Gmail login page.<br>2.
Enter valid username.<br>3. Enter valid
password.<br>4. Click on the "Next"
button.<br>5. Verify successful login and User should be logged in successfully
redirection to the inbox. and directed to the Gmail inbox.
1. Navigate to the Gmail login page.<br>2.
Enter an invalid username.<br>3. Enter
valid password.<br>4. Click on the "Next" Error message should display
button.<br>5. Verify error message indicating that the username is
indicating invalid username. incorrect.
1. Navigate to the Gmail login page.<br>2.
Enter valid username.<br>3. Enter an
invalid password.<br>4. Click on the "Next" Error message should display
button.<br>5. Verify error message indicating that the password is
indicating incorrect password. incorrect.
1. Navigate to the Gmail login page.<br>2.
Leave the username field empty.<br>3.
Enter valid password.<br>4. Click on the Error message should display
"Next" button.<br>5. Verify error message indicating that the username is
indicating username is required. required.
1. Navigate to the Gmail login page.<br>2.
Enter valid username.<br>3. Leave the
password field empty.<br>4. Click on the Error message should display
"Next" button.<br>5. Verify error message indicating that the password is
indicating password is required. required.
1. Attempt to log in with incorrect username
or password multiple times.<br>2. Try
logging in again with correct Error message should display
credentials.<br>3. Verify error message indicating that the account is
indicating account is locked. temporarily locked.

1. Navigate to the Gmail login page.<br>2.


Enter valid username.<br>3. Enter valid
password.<br>4. Click on the "Next"
button.<br>5. Enter the code received via
SMS or authentication app.<br>6. Verify User should successfully log in after
successful login and redirection to the inbox. entering the correct 2FA code.
1. Navigate to the Gmail login page.<br>2.
Click on the "Forgot password?" link.<br>3.
Enter the email address associated with the
account.<br>4. Follow the instructions sent
via email or SMS to reset the
password.<br>5. Set a new password and
confirm.<br>6. Attempt to log in with the User should be able to reset the
new password.<br>7. Verify successful password and successfully log in with
login and redirection to the inbox. the new password.
1. Log in to Gmail.<br>2. Leave the session
idle until it times out.<br>3. Attempt to
perform an action (e.g., refresh User should be prompted to log in
inbox).<br>4. Verify that user is prompted again after the session times out.

Page 3
Sheet1

1. Log in to Gmail with primary


account.<br>2. Click on the profile picture
or account name.<br>3. Click on "Add
another account" if necessary.<br>4. Select
a different Gmail account from the
list.<br>5. Verify successful switch to the User should be able to switch between
selected account and redirection to its inbox. multiple Gmail accounts seamlessly.

Page 4
Sheet1

Actual Result

User is logged in and sees the Gmail inbox.

Error message appears stating "The email


address that you've entered doesn't match any
account."

Error message appears stating "Wrong


password. Try again or click Forgot
password to reset it."

Error message appears stating "Enter an


email or phone number."

Error message appears stating "Enter a


password."

Error message appears stating "Too many


failed attempts. Try again later."

User is logged in and sees the Gmail inbox.

Password reset email received and new


password set successfully. User logs in and
sees the Gmail inbox.

User is prompted to log in again after the


session expires.

Page 5
Sheet1

User successfully switches between Gmail


accounts without any issues.

Page 6

You might also like