Friday, 29 May 2015

MT - 25 - Use-case and Test-case !!

A usecase is a high level scenario where you specify the functionality of the application from a business perspective.A usecase describes that how a user use specific functionality in our application.A use case describes an entire flow of interaction that the user has with the system/application. A Use Case describes the behaviour of a business system from the business user’s point of view. It should describe in plain business terms how the user interacts with the system (assuming it is an online Use Case) and what the system does in response. It does not determine how the system works internally, that is it does not define the implementation.


Testcase is the implementation of the highlevel scenario(usecase) wherein one gives detailed and step-by-step account of procedures to test a particular functionality of the application. Things get lot technical here.A test case describes that a test condition to apply on that application to validate.Test cases are written on the basis of use cases. The test cases check if the various functionalities  that the user uses to interact with the system is working fine or not.

Differences :


                  Use Case
                       Test Case
1
Use Case is prepared by business analyst or client representative.
Test case is prepared by test engineer and in small companies sometimes it is prepared by quality analyst too.
2
Based on test cases use cases cannot be prepared means it is not derived from test cases.
Based on use cases test cases can be prepared means it is derived from use cases.
3
Use case describes step by step instructions means how to use functionality.
Test case verifies the functionality means it is as per the instructions mentioned in use case or not.
4
Use case is not designed to be executed. Its designed to test the end-to-end functionality of the system.
We design the test cases and later execute them.
5
It is derived from the BRS (Business Requirement Specification)
It is derived from the use case.
6
It is a pictorial representation of client requirements or you can say customer requirements.
It is not represented diagrammatically it is only documented in excel sheet and in big companies it is also documented in some test case management tools.
7
It is a document which always describes the flow of events of an application.
It is a document which always contains an action, event and an expected result of particular feature of an application.
8
Use Cases can be written by BA (business analyst.) on the basis of client requirements or customer requirements.
Test cases are written by test engineer or quality analyst on the basis of use case document.
9
It always tells us about the story of how people interact with a software system to achieve a goal.
It verifies the goal to see it is as per the instructions of use case or not.

No comments:

Post a Comment