Global Properties are used to store values that are globally applicable at a Project level.
Global Properties are defined at project level in accelQ. These are used for managing properties that are applicable at application level such as your application URL. Values for these properties could change from time to time (as in the URL or port number may change), but not variable at Action, Scenario or Test Case level.
Creating and Managing Global Properties
Global Properties are managed under Resources section of Navigator. You can create a new property or import a set of properties from an excel or csv file.
If you enabled Multi Application Environments (in project configuration), values for a given property can be specified separately for each environment. For example, Application URL can hold different values for different application environments.
You can import global properties in bulk either in csv, excel or tsv (tab separated) file format.
Using Global Properties
Global Properties can be directly used in Action logic or can be used at Scenario level while overriding a step (action) parameter. Global property can also be used to define entry point URL at Context level (while defining a Context). You will learn more about these usecases in relevant articles.
When to use Global Properties
Remember following points -
- 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 application environments.
- Shared across all the actions and scenarios.
Comments
0 comments
Article is closed for comments.