0% found this document useful (0 votes)
27 views1 page

Book 1

The document outlines a series of test cases for a login functionality, detailing the test case ID, description, pre-conditions, steps, expected results, actual results, and status. Most test cases pass, confirming that valid credentials lead to successful login, while invalid inputs trigger appropriate error messages. However, the 'Forgot Password' functionality test case failed as the recovery email was not sent.

Uploaded by

gorakhnathbhoi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Book 1

The document outlines a series of test cases for a login functionality, detailing the test case ID, description, pre-conditions, steps, expected results, actual results, and status. Most test cases pass, confirming that valid credentials lead to successful login, while invalid inputs trigger appropriate error messages. However, the 'Forgot Password' functionality test case failed as the recovery email was not sent.

Uploaded by

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

Test Case ID Test Case Description Pre-condition Test Steps Expected Result Actual Result Status

1. Open login page


2. Enter valid username
3. Enter valid password
TC01 Valid Login Credentials User account exists 4. Click "Login" User is redirected to the home page User is redirected to the home page Pass
1. Open login page
2. Enter invalid username
3. Enter valid password Error message: "Invalid username or Error message: "Invalid username or
TC02 Invalid Username User account exists 4. Click "Login" password" password" Pass
1. Open login page
2. Enter valid username
3. Enter invalid password Error message: "Invalid username or Error message: "Invalid username or
TC03 Invalid Password User account exists 4. Click "Login" password" password" Pass
1. Open login page
2. Leave username and
password blank
TC04 Empty Fields None 3. Click "Login" Error message: "Fields cannot be empty" Error message: "Fields cannot be empty" Pass
1. Open login page
2. Leave username blank
3. Enter valid password
TC05 Empty Username None 4. Click "Login" Error message: "Username is required" Error message: "Username is required" Pass
1. Open login page
2. Enter valid username
3. Leave password blank
TC06 Empty Password None 4. Click "Login" Error message: "Password is required" Error message: "Password is required" Pass
1. Open login page
2. Enter special characters in
username and password
TC07 Special Characters in Fields None 3. Click "Login" Error message: "Invalid input" Error message: "Invalid input" Pass
1. Open login page
2. Enter SQL injection script in
fields
TC08 SQL Injection Attack None 3. Click "Login" Input is sanitized; error message displayed Error message displayed; input sanitized Pass
1. Open login page
2. Enter password in the
TC09 Password Masking None password field Password is masked with dots or asterisks Password is masked with dots Pass
1. Open login page
2. Click "Forgot Password"
TC10 Forgot Password Functionality Forgot Password option is available 3. Follow recovery steps Password recovery process is successful Recovery email not sent Fai

You might also like