Testing Techniques
Testing Techniques
1. Error Guessing
2. Boundary Value Analysis
3. Decision Table Technique
4. State Transition Technique
5. Equivalence Partitioning
Is a technique in which testers use their skills and try to find bugs.
Requirement 1: Pin code Field- should be integer field and length =6.
Is space considered?
Is a technique in which testers divide the input data into equal classes of data through test case
can be derived.
Requirement 2:
To vote valid age is 18 or more. Divide input need to be provided to different classes.
Solution: Requirement 2
Test Case should fail Test Case should pass Test Case should pass
Boundary testing is the process of testing between extreme ends or boundaries between partitions of
the input values.
Requirement 3:
To vote valid age is 18. Divide input need to be provided to different classes and find the boundary
values need to tested.
Solution: Requirement 3
18-1=17 18 18+1=19
Test Case should fail Test Case should pass Test Case should pass
Is a software testing technique used to test system behavior for different input combinations, conditions
and rule criteria.
Requirement 4:
Food company named ‘A’ having the offers to its customers as below.
Requirement 5:
Write state transition diagram for the below scenario (Login amazon).
1. If user name and password is correct – user able to login
2. If user provided wrong user name / password 1st time - login failed
3. If user provided wrong user name / password 2nd time- login failed
4. If user provided wrong user name / password 3rd time- Account Locked
Solution: Requirement 5
Login
Login Page
Enter valid credentials
Amazon
Enter invalid Enter invalid
credentials- 1st time credentials- 2nd time Enter invalid
credentials- 3rd time