0% found this document useful (0 votes)
60 views

Test Cases Username Password 1 1 1 1 Hoangquockhanh Hoangquockhanh Maxlength (Username) Maxlength (Password) at @ H H

The document describes test cases and test ideas for a login form, including: - Sample test usernames and passwords - Areas to test like the user interface, security, and functionality of logging in, logging out, and forgotten passwords. - Boundary tests of username and password lengths and characters. - Error handling tests. - State diagram examples with test paths and cases for conditions.
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)
60 views

Test Cases Username Password 1 1 1 1 Hoangquockhanh Hoangquockhanh Maxlength (Username) Maxlength (Password) at @ H H

The document describes test cases and test ideas for a login form, including: - Sample test usernames and passwords - Areas to test like the user interface, security, and functionality of logging in, logging out, and forgotten passwords. - Boundary tests of username and password lengths and characters. - Error handling tests. - State diagram examples with test paths and cases for conditions.
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
You are on page 1/ 8

TEST CASES

USERNAME PASSWORD
1 1

1
1
hoangquockhanh hoangquockhanh
maxlength(username) maxlength(password)
@ @
h h
TEST IDEAS

USER INTERFACE
Tab Order - Is there a logical order to using the tab key?
Username field focus - when arriving at the page is the cursor focused on the username field?
Use of enter key - does selecting enter activate the Login button?
Accessibility - are the form fields correctly identified and labelled?
The look - does it look ok? Everything aligned ok?
Content - is the content up to scratch? Any typos?

SECURITY
Password - is it shown in asterisks?
Password - can it be copied and pasted?
Password - is there a minimum complexity on the password?
Pages - can pages behind the wall be accessed without logging in?
Multiple accounts - can different accounts be logged in at the same time in the same browser?

FUNCTIONALITY

Login - is it possible to login successfully? Unsuccessfully?


Logout - if user logs out, do they log out as expected?
Forgot password - does it exist? does the process work? Is it prone to security failure?
Remember me - is there a "Remember me" option? Does it as standard? What if password is changed?
Compatibility - is there a need to test in other browsers?
Data - is there a minimum or maximum length of characters? What are the boundaries? What are the
allowed characters?
Error handling - how are errors handled and displayed?
A1

A2

A3

A4

A5

CFG A1

A2

T F

A3
T

A4

T F

A5
BASIC PATH

1. A1-A2-(T)-A3-A4-A5

2. A1-A2-(F)-A3-A4-A5

3. A1-A2-A3-A3-A4-(T)-A5

4. A1-A2-A3-A3-A4-(F)-A5

TEST CASES

1. maxint =1, value = -1

2. maxint = -1, value = -1

3. maxint = 2, value = 1

4. maxint = 1, value = 100


A1

A2

A3

A1

A2
T

A3
BASIC PATH

A1-A2-A3

A1-A2-A2-A3
A1

A2

A3

A4

A5

A1
CFG

A2

F
T

A3
T

A4

T F

A5
BASIC PATH

1. A1-A2-(T)-A3-A4-A5

2. A1-A2-(F)-A3-A4-A5

3. A1-A2-A3-A3-A4-(T)-A5

4. A1-A2-A3-A3-A4-(F)-A5

TEST CASES

1. x = , y =

2. x = 2 , y = 0

3. x = 2, y = -1

4. x = 1, y = 2

You might also like