priyanka

Posted on

# Task 2

Testing design technique & examples :
Test design technique :

1. Boundary value analysis: This technique is usually done in black box testing , used to test the Boundary values where the Input values falls under Boundary.

Eg :

Take the data of person who age is falling between 30 to 40.

where , A= 30 & B = 40 .( A is considered as minimum value & B is considered as maximum value ).

The in valid input are 29 ,41 & valid input are 30,31,39 & 40.

2 . Decision Table testing :
This technique to test various condition with different set off input.

Formula 2^n : 2^2 = 4 valid output.

Eg : To login Application

condition 1 : User should have an existing account.
condition 2 : User should have valid password

Inputs 1 2 3 4
username - T F T F
password -T T F F

1 - User should have valid user name & password.
Output : User will be able to login.
2 - User should have invalid user name & valid password.
Output : User will not be able to login.
3 - User should have valid user name & invalid password.
Output : User will not be able to login.
4 - User should have invalid user name & invalid password.
Output : User will not be able to login.

1. Use case testing

This technique is done by designing team , where the all valid input where all the action will be displayed in diagram.

Eg : How to book a train ticket.
login to portal

``````                              Look for seat
``````

Train reservation app --- confirm the seat & coach

``````                              Add passaenger details

Make payment
``````
1. LCSAJ - linear code sequence and Jump testing , falls under white box testing where it helps us to cover the code , based on the test case.