Use case
Use case describes the requirement
Use case contains three items which is
- Actor
- Action
- Outcome
Test scenario
Possible area to be tested (what to test)
Test case
How to test
Describes test steps, expected result vs actual result
Use case
Describes the functional requirement, prepared by business analyst
Test case
Describes the test steps/procedure. Prepared by test engineers.
Test case/ Test scenario
Test case consists of set of input values, execution precondition, expected result and executed past condition, developed to cover certain test condition, while test scenario is nothing but test procedure.
Test cases are derived from test scenario. The scenarios are derived from use cases. In short , test scenario is what to be tested and test case is how to be tested.
Example :
Test scenario : checking the functionality of the login button
Tc1 – Click the button without entering the username and password
Tc2 – Clicking the button while entering the username
Tc2 – Click the button while entering the wrong username and password