Use Case Testing and its elements
What is the Use Case?
A use case is a method of system analysis that discovers, explains, and arranges needs. A use case is a set of possible sequences of interaction between the system and the user in a given environment to achieve a specified goal.
It is a record of the action taken by the user and how the system responded to it.
Also Read JMeter For Software Testing
Elements of Use Cases
A use case has three primary elements: Actor, Action, and System.
Actor: An actor is a user who interacts with the system and performs certain functions to achieve a specific goal.
Action: An action is a system response, behaviour, or final outcome that completes a process.
System: The process and actions taken to achieve the final goal, including the functional requirements and expected behaviour.
Types of Use Case :-
1). Basic Use Case: This method tests the application’s positive aspects and situations using valid data.
2). Alternate Use Cases: In this scenario, the alternate technique is utilised to evaluate the system’s error handling using different values.
3). Boundary Use Case: This is the way for testing the use case with maximum and minimum input values.
4). Negative Use situation: In this situation, negative inputs are utilised to test the use case in order to detect and avoid problems.
5). Integration Use Case:- This form of testing tests the use case’s ability to handle data within the system.
6). Performance Use scenario:- In this scenario, the purpose is to test the scalability, dependability, and response.
Also Read Sanity Testing vs Regression Testing
Prerequisites for building Use Case Testing plan
- Complete and deep understanding of system functionality.
- In the early stages of a project, assess the risks and dependencies involved.
- Create a proper communication plan and share it with all relevant stakeholders.
- Communication regarding changes in scope and needs is timely and fast.