0% found this document useful (0 votes)
13 views2 pages

Test Cases for Username and Password Validation

The document describes test cases for a project using equivalence partitioning and boundary value analysis (BVA). For equivalence partitioning, valid and invalid inputs are defined for the username and password fields. For the username field, only emails are valid while phone numbers are invalid. For the password field, passwords with at least 8 characters and 1 number are valid, while passwords with less than 8 characters or more than 12 characters without a number are invalid. BVA test cases for the username field include a phone number, email, and nickname. BVA test cases for the password field include a 2 character password, an 8 character password with a number, a 10 character password with a number, and an 11 character password without a number.

Uploaded by

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

Test Cases for Username and Password Validation

The document describes test cases for a project using equivalence partitioning and boundary value analysis (BVA). For equivalence partitioning, valid and invalid inputs are defined for the username and password fields. For the username field, only emails are valid while phone numbers are invalid. For the password field, passwords with at least 8 characters and 1 number are valid, while passwords with less than 8 characters or more than 12 characters without a number are invalid. BVA test cases for the username field include a phone number, email, and nickname. BVA test cases for the password field include a 2 character password, an 8 character password with a number, a 10 character password with a number, and an 11 character password without a number.

Uploaded by

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

Question 4

Create test cases using one equivalence partitioning and one BVA technique
for your project. Screenshot the interface you are referring to and include it
in your submission in teams.
Equivalence Partitioning
Username Field:
Valid Inputs:
- Only can use email (Valid)
Invalid Inputs:
- In addition to e-mails such as phone numbers (Invalid)
Password Field:
Valid Inputs:
- Password must contain at least 8 characters including at least 1 number (Valid)
- 8-15 characters and 1 number (Valid)
Invalid Inputs:
- Password with less than 8 characters (Invalid)
- Password with more than 12 characters and no number (Invalid)

Boundary Value Analysis (BVA):


Username Field:
Test Cases:
- Username with phone number (Boundary case - Invalid)
- Username with email (Boundary case - Valid)
- Username with nickname (Boundary case - Invalid)
Password Field:
Test Cases:
- Password with 2 characters (Boundary case - Invalid)
- Password 8 characters and at least 1 number (Boundary case - Valid)
- Password with 10 characters and 1 number (Boundary case - Valid)
- Password with 11 characters and no number (Boundary case - Invalid)

You might also like