• RSS
  • Facebook
  • Twitter

One Center for all the Testing Need. OneTestingCenter is for all, for all QA, for all Automation. Automation is easy, fun and enriching experience. Happy Learning and Happy Testing!

  • Access to All QA

    At OneTestingCenter, you find lots of books,articles,blogs and detailed guides. Everyone has access to QA. Happy Learning, Happy Testing.

  • Global Trainings

    All the QA/Auotmation trainings are available at OneTestingCenter. QA, Automation, QTP/UFT, Selenium, LoadRunner, QC/ALM, Appium...

  • Automation Learning Fun

    Technology is always evolving. Automation is always challenging. To be frank, Automation is fun, enthusiastic and enrching experience.


    Test Case Design Techniques:

    To design better test cases there are three test case design techniques available.
            Boundary Value Analysis.
            Equivalence Clause Partition.
            Error Guessing.


    Boundary Value Analysis:

         Boundary Value Analysis:
         The process of analyzing the data at boundary levels 
         There are 6 Boundary Levels.

    1) Min       
    2) Min – 1  
    3) Min + 1        
    4) Max  
    5) Max – 1  
    6) Max + 1

     Example:   
     If there is a requirement such as a user can be granted a loan if
         Condition – 1:  User age >= 20, User age <= 50.
     Condition – 2:  User Sal >= Rs.20,000, User Sal <= Rs.2,00,000.     
                               

    Min
    Status
    Max
    Min = 20
    Pass
    Pass
    Max = 50
    Min - 1 = 19
    Fail
    Pass
    Max - 1 = 49
    Min + 1 = 21
    Pass
    Fail
    Max + 1 = 51

     

    Equivalence Clause Partition

     ECP (Equivalence Clause Partition):
     The process of partitioning / dividing the data between the classes like Valid or Invalid.
     Example:  when there is a requirement such as user name field should accept either alpha or numeric or the combination of alphanumeric

            (a – z), (A – Z), (0-9), {A-Z}{a-z}{0-9}.


    Valid
    Status
    Invalid
    Status
    a – z
    Pass
     Special Chars (*&^%...)
    Fail
    A – Z
    Pass
     Function Keys (F1..F12)
    Fail
    0 – 9
    Pass
    Blanks, spaces, all zeros
    Fail
    [A-Z][a-z][0-9]
    Pass





    Error Guessing

     The process of guessing errors where ever they are required.
     Example: When there is a requirement like password can accept any alphanumeric.
     When we enter special characters in the password field there should be “invalid password”. When you don not enter any value in the password field click again there should be a “Please enter password” message.
     

    Error Guessing
    Test Purpose:
     To verify blank data submission on the Login page gives proper validation messages
     Test Steps:
     Without entering User Name and password, click on Sign In Button
     There should be error messages indicating that, username and password are not entered
     Expected Results:
     For blank data submission on the Login page the Login page should give proper validation messages indicating that, username and password are not entered



    Reactions:

    Test Case - Test Case Design Techniques


    Test Case Design Techniques:

    To design better test cases there are three test case design techniques available.
            Boundary Value Analysis.
            Equivalence Clause Partition.
            Error Guessing.


    Boundary Value Analysis:

         Boundary Value Analysis:
         The process of analyzing the data at boundary levels 
         There are 6 Boundary Levels.

    1) Min       
    2) Min – 1  
    3) Min + 1        
    4) Max  
    5) Max – 1  
    6) Max + 1

     Example:   
     If there is a requirement such as a user can be granted a loan if
         Condition – 1:  User age >= 20, User age <= 50.
     Condition – 2:  User Sal >= Rs.20,000, User Sal <= Rs.2,00,000.     
                               

    Min
    Status
    Max
    Min = 20
    Pass
    Pass
    Max = 50
    Min - 1 = 19
    Fail
    Pass
    Max - 1 = 49
    Min + 1 = 21
    Pass
    Fail
    Max + 1 = 51

     

    Equivalence Clause Partition

     ECP (Equivalence Clause Partition):
     The process of partitioning / dividing the data between the classes like Valid or Invalid.
     Example:  when there is a requirement such as user name field should accept either alpha or numeric or the combination of alphanumeric

            (a – z), (A – Z), (0-9), {A-Z}{a-z}{0-9}.


    Valid
    Status
    Invalid
    Status
    a – z
    Pass
     Special Chars (*&^%...)
    Fail
    A – Z
    Pass
     Function Keys (F1..F12)
    Fail
    0 – 9
    Pass
    Blanks, spaces, all zeros
    Fail
    [A-Z][a-z][0-9]
    Pass





    Error Guessing

     The process of guessing errors where ever they are required.
     Example: When there is a requirement like password can accept any alphanumeric.
     When we enter special characters in the password field there should be “invalid password”. When you don not enter any value in the password field click again there should be a “Please enter password” message.
     

    Error Guessing
    Test Purpose:
     To verify blank data submission on the Login page gives proper validation messages
     Test Steps:
     Without entering User Name and password, click on Sign In Button
     There should be error messages indicating that, username and password are not entered
     Expected Results:
     For blank data submission on the Login page the Login page should give proper validation messages indicating that, username and password are not entered