iFour Consultancy Software Testing Training
Testing Techniques https://www.ifourtechnolab.com/aspdotnet-web-development
Testing Techniques ⚫ Boundary Value Analysis (BVA)
⚫ Equivalence Class Partitioning ⚫ Decision Table Based Testing.
⚫ State Transition ⚫ Error Guessing
https://www.ifourtechnolab.com/aspdotnet-web-development
Testing Techniques - Boundary Value Analysis (BVA) ⚫ Boundary value testing is the process of testing between extreme ends or boundaries
between partitions of the input values. ⚫ The basic idea in boundary value testing is to select input variable values at their: B
A
X(min)
X(min+)
X(mid)
X(max-)
X(max)
⚫ Boundary value testing comes after the Equivalence Class Partitioning.
https://www.ifourtechnolab.com/aspdotnet-web-development
Testing Techniques – Equivalent Partitioning ⚫ In this technique, you divide the set of test condition into a partition that can be
considered the same. ⚫ It divides the input data into different equivalence data classes.
Example
Suppose password field accepts minimum 6 characters and maximum 10 characters Valid
Invalid
0
5
6
7
Invalid
9 https://www.ifourtechnolab.com/aspdotnet-web-development
10 11
14
Testing Techniques – Equivalent Partitioning ⚫ That means results for values in partitions 0-5, 6-10, 11-14 should be equivalent
⚫ Test scenario be like this : Test Scenario #
Test Scenario Description
Expected Outcome
1
Enter 0 to 5 characters in password field
System should not accept
2
Enter 6 to 10 characters in password field
System should accept
3
Enter 11 to 14 character in password field
System should not accep
https://www.ifourtechnolab.com/aspdotnet-web-development
Testing Techniques – Decision Table Testing ⚍ In this method, different input combinations and their corresponding system
behavior (Output) are captured in a tabular form. Example : Login form (Email & Password field) The condition is simple if the user provides correct username and password the user will be redirected to the homepage. If any of the input is wrong, an error message will be displayed. Conditions
Rule 1
Rule 2
Rule 3
Rule 4
Username
F
T
F
T
Password
F
F
T
T
Output
Error
Error
Error
Pass
https://www.ifourtechnolab.com/aspdotnet-web-development
Testing Techniques – State Transition Testing ⚫ State Transition Testing means changes in input conditions cause's state changes in
the Application under Test . ⚫ the tester analyzes the behavior of an application under test for different input conditions in a sequence. In this technique, tester provides both positive and negative input test values and record the system behavior. ⚫ Example : In a Website, Login page has functionality like after 3 fail attemps – that
user will be blocked to do login. ⚫ Lets have a look Transition table for given example
https://www.ifourtechnolab.com/aspdotnet-web-development
Testing Techniques – State Transition Testing State
Correct Input
Incorrect Input
S1 – Start
S5
S2
S2 – 1st Attempt
S5
S3
S3 – 2nd Attempt
S5
S4
S4 – 3rd Attempt
S5
S6
S5 – Access
-
-
S6 – Block
-
-
https://www.ifourtechnolab.com/aspdotnet-web-development
Testing Techniques – Error Guessing ⚫ Error guessing is a software testing technique on guessing the error which can prevail in the code.
It is basically an experience-based testing technique where the test analyst uses his / her experience to guess the problematic areas of the application ⚫ This technique can be used at any level of testing and for testing the common mistakes like: ⚫ Divide by zero ⚫ Entering blank spaces in the text fields
⚫ Pressing the submit button without entering values. ⚫ Uploading files exceeding maximum limits.
⚫ Null pointer exception. ⚫ Invalid parameter
https://www.ifourtechnolab.com/aspdotnet-web-development
Thank you..
https://www.ifourtechnolab.com/aspdotnet-web-development