Test Case Design Technique
Test Case Design Techniques help you design better test cases coverage, It refers to how you set up your test cases. It is important that your tests are designed well, or you could fail to identify bugs and defects in your software during testing.
What is Test Case Design Technique?
When you write the test cases we need to cover all the test cases or all the test scenarios. Whatever possible scenario for our particular module or software.
Test case design techniques help you design better test cases coverage, It refers to how you set up your test cases. It is important that your tests are designed well, or you could fail to identify bugs and defects in your software during testing.
We do not cover some test cases or some test scenario, so it’s may be possible some bugs or defect.
What are types of test case design technique?
- Boundary value analysis(BVA)
- Equivalence Class Partitioning
- Decision Table Based Testing
- State Transition
- Error Guessing
What is Boundary value analysis (BVA) with example?
Boundary value analysis(BVA)
- In BVA, check input values enter into object àSize/ length
- It maintain size of object
For Example: Suppose user name field it is tacking only 1to 10 character. It should be accept 1to 10 characters.
BVA Size
Min+1 =2 Valid
Min = 1 Valid
Min -1 =0 Invalid
Max +1=11 Invalid
Max-1 =9 Valid
Max=10 Valid
What is Equivalence Class Partitioning with example?
Equivalence Class partitioning it maintains the data type of object.
Example, Mobile number box it should be accept 10 digits.
- ECP(Equivalence Class Partitioning)
Data type
Valid | Invalid
|
0-9 | a-z,
A-Z, Specific Symbol($), Space( _ ) |
What is Decision Table Based Testing with example?
In table based testing we check the input combination values which is enter in the object, It means output of this object.
Example:-
Password
|
LOGIN
|
Objects | Password | LOGIN | Result | |
Input | Valid | Valid | Press/ click | Home page display |
Input | Valid | In-valid | Press/ click | Login page/ Error message |
Input | In-valid | Valid | Press/ click | Login page/ Error message |
Input | In-valid | In-valid | Press/ click | Login page/ Error message |
-
What is Error Guessing with example?
Error Guessing is the process of checking whether system shows error messages or not. When we enter the invalid value in the application that time application show the different error messages.
For Example:
-
What is State Transition with example?