What is a Scenario?
Scenario represents a use case or a test script on your application.
It includes multiple steps going across different pages of your application.
Each step in the Scenario is an Action from one of the pages in the application.
Example 1: Verify funds transfer on QBank
Notice various actions put together to form Scenario workflow. It accomplishes end-to-end flow involved in transferring funds on QBank.
Every Scenario should start with 'Initialize' step, which actually opens the browser with given URL.
Example 2: Verify Login functionality
Notice Login step has parameters. To run this scenario, you need to either provide values for these parameters or define test cases.
Hard coded parameter values: Single test case
If the scenario is not required to be data-driven, you can furnish values for parameters by clicking the parameter name and providing a value for it.
Test case: data driven testing
If the scenario is parameterized, and you want it to run with multiple sets of input data, you can setup Test Cases.
Same scenario runs multiple times and is said to be data-driven.
Comments
0 comments
Please sign in to leave a comment.