Test Case Design Techniques

Posted By : Sonali Gupta | 18-Aug-2017

Test Case Design Techniques:-

 

There are 3 types of Design Techniques, which is Described Below:-

  • Error Guessing

  • Equivalence Partitioning

  • Boundary Value Analysis (BVA)

 

Error Guessing:-

 

If the text field asks for only integers, test engineer enter all possible values for testing the fields like – float values, special character, negative integers etc.

  • Some text entered then divide or multiply it by zero.
  • Entering blank spaces in the text fields, which is mandatory to fill or test the error text validation.
  • Click on submit without entering values, which is mandatory to fill.
  • Accepting the negative integer, float value.
  • Upload the document which exceeds the limit which is set or validate by the developer.

 

Equivalence Partitioning:-

 

There are 2 types of Equivalence Partitioning Techniques, which is Described Below:-

 

  • Pressman

  • Pratice

According to Pressman,

 

1).  If the field accept the inputs for range of values then test for one valid or two invalid.

     For ex, Amount text field accepts range of values

 

  • Take the range of value 1 to 10
  • The 0 or 9 is invalid only 10 is valid 

  

 

2).  If the field accept input for the set of values test for one valid and two invalid.

 

      

               

                        

 

 

3).  If the input field is a Boolean type, then design the test cases for both true and false.

      Ex Radiobuttons etc.

 

 

 

According to Practise,

 

In this method we usually divide the range such that the conditions are satisfied or the deviation is satisfied.

Testing the application by deriving accepting numbers between 1 and 50

 

 

  • Set the range of 1 to 10, the text range which is not acceptable is 0 and 11, only 10 range acceptable.
  • Set the range of 10 to 20, the text range which is not acceptable is 9 and 21, only 10 or 20  range acceptable.
  • Set the range of 20 to 30, the text range which is not acceptable is 19 and 31, only 20 or 30 range acceptable.
  • Set the range of 30 to 40, the text range which is not acceptable is 29 and 41, only 30 or 40 range acceptable.
  • Set the range of 40 to 50, the text range which is not acceptable is 39 and 51, only 40 or 50 range acceptable.

 

BVA – Boundary Value Analysis:-

 

If input is a range of values between A to B, then design test case for A, A+1, A-1 and B, B+1, B – 1.

By following the above ranges, test cases implemented according to that for different text fields, as each and every text fields have different BVA Limit which is set by the developer

 

Select the Range of text field as 1 to 100

 

  • Test case for the text field to accept the value range in 1 to 100.
  • Test case for the text field to accept the value range in 2 to 101.
  • Test case for the text field to accept the value range in 0 to 99.

 

Related Tags

About Author

Author Image
Sonali Gupta

Sonali is certified in manual testing and selenium web driver. She is a B.Tech through Electronics and Communication.

Request for Proposal

Name is required

Comment is required

Sending message..