0% found this document useful (0 votes)
11 views13 pages

Testing Techniques

test

Uploaded by

Aravind P
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)
11 views13 pages

Testing Techniques

test

Uploaded by

Aravind P
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/ 13

Techniques used while writing test cases in order to have better test case coverage.

Black Box 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.

List down the negative scenarios where it may lead to defect.


Solution: Requirement 1

 Other than integer if any other alpha characters entered.

 If entered data is less than 6 digits

 If entered data more than 6 digits

 If special characters entered in Pin Code field

 If other characters entered along with integers

 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

<18 =18 >18

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.

1. New Customer = 15%


2. Old Customer = 10%
3. Coupon Code = 20%
Solution: Requirement 4
Is a software testing technique in which input provided causes the change in state changes.

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

Login Failed Login Failed User Blocked


Thank You

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy