What is the difference between Use Case and Test Case?

 

What is the difference between Use Case and Test Case?

 

Use cases are designed in the requirement and design phase of the SDLC methodology. Use cases are used to explain and document the interaction that is required between the user and the system to accomplish the user’s task. They are created to help the development team understand the steps that are involved in accomplishing the user’s goals.

A test case is a documented set of instructions that aim to validate whether a software application meets its intended design and functionality. It provides a systematic approach to verify that the software performs as expected under specific conditions.

 

Below are the differences between Use Case and Test Case in tabular format.

 

USE CASE

TEST CASE

1. A use case is a graphical representation of actions that describes the behaviour of a system to do a task.

1. Test Case is a document specifying a set of actions to be performed on the application under test to verify the expected functionality.

2. To create a use case SRS (System Requirement Specification) is required.

2. To write a test case preconditions, test data and steps are required.

3.Use cases are prepared on requirements.

3.Test cases are prepared on Use cases.

4.Require Requirement documents.

4.Test Data, Test Scripts.

5.Business Analyst create use case by collecting the requirement

5.Tester/ QA Analyst create a test case by using use case

6.End user executes the use case

6.Testers executes the test case

7.The purpose of use case is to understand the end-user interaction with the system

7.The purpose of the test case is to validate whether that particular feature is functioning as expected or not.

8.The use case focuses on the end user

8.Test case focuses on the Test result

9.The result of the use case has not been verified

9.The result of a test case is verified with the expected result

10.Use case interacts with the user

10.Test case interacts with the result

Comments

Popular posts from this blog

WHAT ARE THE BENEFITS IN FOLLOWING DEVOPS PRACTICES?

What are different types of non-functional tests

WHAT ARE THE DIFFERENT CEREMONIES IN AN AGILE SCRUM TEAM?