Software Testing
What is User Acceptance Testing (UAT)? with Examples
What is UAT? User Acceptance Testing (UAT) is a type of testing performed by the end user or the...
A TEST CASE is a set of actions executed to verify a particular feature or functionality of your software application. A Test Case contains test steps, test data, precondition, postcondition developed for specific test scenario to verify any requirement. The test case includes specific variables or conditions, using which a testing engineer can compare expected and actual results to determine whether a software product is functioning as per the requirements of the customer.
A Test Scenario is defined as any functionality that can be tested. It is a collective set of test cases which helps the testing team to determine the positive and negative characteristics of the project.
Test Scenario gives a high-level idea of what we need to test.
For an eCommerce Application, a few test scenarios would be
Test Scenario 1: Check the Search Functionality
Test Scenario 2: Check the Payments Functionality
Test Scenario 3: Check the Login Functionality
Test cases for the Test Scenario: "Check the Login Functionality" would be
Here, are some important reasons to create a Test Case-
Here, are important reasons to create a Test Scenario:
Here, are significant differences between Test scenario and a Test Case
| Test Scenario | Test Case |
|---|---|
| A test scenario contains high-level documentation which describes an end to end functionality to be tested. | Test cases contain definite test steps, data, expected results for testing all the features of an application. |
| It focuses on more "what to test" than "how to test". | A complete emphasis on "what to test" and "how to test.". |
| Test scenarios are a one-liner. So, there is always the possibility of ambiguity during the testing. | Test cases have defined a step, pre-requisites, expected result, etc. Therefore, there is no ambiguity in this process. |
| Test scenarios are derived from test artifacts like BRS, SRS, etc. | Test case is mostly derived from test scenarios. Multiple Test case can be derived from a single Test Scenario |
| It helps in an agile way of testing the end to end functionality | It helps in exhaustive testing of an application |
| Test scenarios are high-level actions. | Test cases are low-level actions. |
| Comparatively less time and resources are required for creating & testing using scenarios. | More resources are needed for documentation and execution of test cases. |
What is UAT? User Acceptance Testing (UAT) is a type of testing performed by the end user or the...
What is REST? REST stands for "REpresentational State Transfer," which is a new way of...
What is Application Testing? Application Testing is defined as a software testing type, conducted through...
With time old programming languages become obsolete while new programming languages are launched,...
What is Code coverage? Code coverage is a measure which describes the degree of which the source...
What is Bugzilla? Bugzilla is an open-source issue/bug tracking system that allows developers to...