Use case vs Test Case

Difference between Use Case and Test Case



So what is a Use case and a Test Case. These terms frequently used in the software testing field, which are also closely related. A use case is used to specify how to use the system designed for performing a specific task. As against, a test case is a group of test inputs, execution conditions, and expected results developed for a particular test objective.

Furthermore, the use case does not run or execute as it is a textual or diagrammatic presentation of a document which specifies how to accomplish a certain task. Whereas, test cases are prepared by the software testers to validate the software and check whether it is working as per requirements or not.

What is a Use Case?
use case is a description of how a person who actually uses that process or system will accomplish a goal It outlines, from a user’s point of view, a system’s behaviour as it responds to a request. Each use case is represented as a sequence of simple steps, beginning with a user's goal and ending when that goal is fulfilled.

What is a Test Case?
The test case is a set of inputs and expected output which is used for analysing the program behaviour. Use case description is fed as the input to the test case worksheet. A Test Case contains test steps, test data, precondition, postcondition developed for specific test scenario to verify any requirement.






    

Comments

Popular posts from this blog

Explicit Wait, Implicit Wait, Fluent Wait in Selenium using C#

Assertion

CI/CD Pipelines & DevOps