Action Parameters, Global Properties and Run Properties are all helpful in avoiding hard coded values in different places in action logic and scenario steps. Here is a summary of their applicability.
Type
|
Use Case
|
Example(s)
|
Where to Define
|
Applicable In
|
Global Property
|
- Defined at Project level.
- Used to represent data that is relatively static at the test application level, but may change occasionally.
- Supports variable data for data environments.
|
|
- Defined in Resource Tab under Navigator
|
- Action Logic
- Scenario Parameter Overriding
- Context Entry Point URL
|
Action Parameter
|
- Promotes Data Driven Testing.
- Values are set in the “Test Cases” belonging to the Scenario where the Action is used as a Step.
- Allows Data Type and Data List to specify permissible values
|
- “Origin” for “Search Flights” Action
|
- Action Level, Parameters Tab
|
|
Run Property
|
- Allows user to supply data at the time of execution.
- Used when data value needs to be decided at Test Run level.
- It is a “global” parameter applicable for the given Test Run
|
- PNR number for "Cancel Itin" Scenario
|
- Value is set in Run modal while kicking off test run.
- Configuration of the Parameter is defined in the Resources Tab under Navigator.
|
- Scenario Parameter Overriding
|
Comments
0 comments
Article is closed for comments.