testing
After reading this blog post, you will be able to:
Equivalence class partitioning: By using this technique we can get the best test coverage and save lots of testing time.
Example: let’s assume that we have a field in the login page that has an Age field and that accepts 20 to 60 Age values.
|
||
|
|
|
|
|
|
Now we have 1 valid and 2-Invalid conditions. Pick any data from valid class 20 to 60 to perform positive test testing, form invalid class any value from less than 19, and greater than 61.
Boundary Value Analysis:
Example: let’s assume that we have a field that accepts Age 18 to 56 age value so the Boundary values.
|
||
|
|
|
|
|
|
So we have Valid Test cases:
Enter the value 18 which we get from Min value
Enter the value 19 which we get from Min+1 value
Enter the value 55 which we get from Max-1 value
Enter the value 56 which we get from Max value
And the Invalid Test Cases are:
Enter the value 17 which we get from Min-1 value
Enter the value 57 which we get from Max+1 value
Error Guessing:
Example:
Decision Table Technique:
Example: Login page validation. When both the ‘User ID’ and ‘Password’ are correctly entered only then allow users to log in.
On the Login page we have Conditions are:
Actions performed are:
Using the conditions and actions we have test cases that are below mentioned:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
From case-2 and case-3 we could identify that if one of the conditions failed then the system will display an error message as “Invalid user credentials”. So we eliminating one of the test cases from case 2 or 3 and concluding the table as:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
State Transition Technique:
Example: We have a real-life application Traffic Lights, Vending Machine.
Take an example of the login page of an application that locks the user name after three wrong attempts of the password.
Determine the states and the Login page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We have valid test results if the States S1, S2, S3 pass so we go to the S4 states and the Invalid test result for S1 is S2, for S2 is S3 and for S4 is S5 if in all attempts the user gets the Error message.
So that the above-mentioned are the test case designing techniques which are basically used by the Quality Assurance professionals while performing testing so that they get the better result and full coverage to test any kind of software or system.
We are an ERP development company that provides end-to-end ERP software development solutions to address cross-industry enterprise challenges. Our development team is skilled at using open-source tools and technologies to develop performance-driven software applications at cost-effective rates. For more information, contact us at [email protected].