Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Use case testing

    • 0
    • 3
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 487
    Comment on it

    Use case testing:- Use case testing is a high level functional black box testing technique which helps in determining/identifying test cases to test a particular system on a transaction by transaction basis from start to finish.
    A use case is a description of interaction of an Actor(Actors are generally people/user) with a particular system in order to carry out a specific task. It is a sequence of steps of interaction, a Actor has with System. Use cases are defined in terms of actor not the system, describing what actor does and not on what a system accepts and its outputs.
    Difference between Use case and Test case:-Use cases are High level test cases which describes all functionalities as per requirement whereas Test Cases are Low level requirements which describes the each step of the functionality, test data, actual result, expected result.
    Lets take an ATM PIN example of Use case :- Here we will see successful and unsuccessful scenarios describing interaction between an actor and system. This is a simple ATM transaction process in which step 1 to step 5 shows success transaction and step 2a, 4a and 4b shows unsuccessful transaction.

    Success Scenario (A: Actor, S: System)


    StepsDescription
    1 A: Inserts Card
    2 S: Validates Card
    3 A: Enters PIN
    4 S: Validates PIN
    5 S: Allows access to account

    Unsuccessful Scenario:-

    StepsDescription
    2a Card Not Valid
    S: Rejects card and displays error message
    4a Invalid PIN
    S: Displays error message and asks to re-enter PIN
    4b Enters Invalid PIN 3 times
    S: Blocks card and Exit

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: