USE CASE TESTING

Use Case Testing

Table of Contents

Use case testing is additional functional recorder black box testing technique which helps testers to spot test scenarios that exercise the entire system on each transaction basis from start to end.

Characteristics of Use case testing:

  • Use cases show the interactions between Actors and the system
  • An actor represents user and their interactions which each user takes part into.
  • Test cases based on use cases and are referred as scenarios.
  • Capability to identify gaps in the system which would not be found by testing individual components isolation.

Example:

Consider the following example interactions between Users and possible actions.

Use Case testing in Test Life Cycle

Use case testing example:

Here in use case testing actor is represented by “A” and system  by “S”. we create use case where login functionality of a web application.

test scenario

        Main success scenario 

step     description

  1.  A: actor 1 A: Enter the agent name and password

 S: System 2 S: Validate Password

3 S:Allow Account Access

  1. Extensions 2a Password not valid

S: Display message and invite for re-try 4 times

2b Password is not valid 4 times

S: Close Application

stepdescription
1.A: actor1A: Enter the agent name and password
S: System2S: Validate Password
3S:Allow Account Access
2.Extensions2aPassword not valid
S: Display message and invite for re-try 4 times
2bPassword is not valid 4 times
S: Close Application

Considering the first step of an end scenario for login functionality, for our web application where the actor enters email and password. In the next step, the system will validate the password. Next, if the password is correct, the access will be granted. There can be extension of this use case. In case password is not valid, system will display a message and ask for re-try four times. If password is not valid four times the system will ban the IP address.

An use case is explanation of a particular use of the system by an actor. Each use case describes the interactions, the actor has with system in order to achieve a specific task. Actors are people but they may also be other systems. Use cases are series of steps that describe the interactions between the actor and the system. Use cases are defined in terms of the actor, not the system, describing what actor does and what actor sees rather than what inputs the system’s output. Often they use language and terms of the business rather than technical terms, especially when the actor is a business user. They also serve as the foundation for developing test cases mostly at the system and acceptance testing levels.

Here use cases unhide integration defects that is defects are caused by the  incorrect interaction between different components. Used in this, the way the actor may be something that system interfaces to, such as a communication link or sub-system.

5 Responses

  1. Use case testing is a technique that identifies the test cases that cover the entire system on a transaction by transaction basis from start to finish. It is a description of a particular system by the user. Use cases shows the interactions between Actors and the system.
    These provide a list of goals which explains the cost and complexity of the system.

  2. Use case testing is additional functional recorder black box testing technique which helps testers to spot test scenarios that exercise the entire system on each transaction basis from start to end.

    Characteristics of Use case testing:

    -Use cases show the interactions between Actors and the system
    -An actor represents user and their interactions which each user takes part into.
    -Test cases based on use cases and are referred as scenarios.
    -Capability to identify gaps in the system which would not be found by testing individual components isolation.

  3. Use case testing is a technique that identifies the test cases that cover the entire system on a transaction by transaction basis from start to finish. It is a description of a particular system by the user. Use cases shows the interactions between Actors and the system.
    These provide a list of goals which explains the cost and complexity of the system.

  4. Use case testing is crucial because it is the test of the objective of the software in a given case. This type of testing is a high priority as it affects the usability pf specified software.

  5. Use Case Testing is a software testing technique that helps to identify test cases that cover the entire system on a transaction-by-transaction basis from start to end. It makes sure that the user performs its function successfully, without any interruption or error. Use case testing is not performed to determine the quality of the software. Even if it is an end-to-end testing, it will not ensure the entire coverage of the user’s applications.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share this article
Subscribe
By pressing the Subscribe button, you confirm that you have read our Privacy Policy.
Need a Free Demo Class?
Join H2K Infosys IT Online Training
Enroll Free demo class