Global Properties are used to store values that are globally applicable at a Project level.
Global Properties are defined at the Project level in ACCELQ. These are used for managing properties that are applicable at the application level such as your application URL, Port Number, etc. Values for these properties could change from time to time (as in the URL or port number may change), but not very frequently.
Creating and Managing Global Properties
Global Properties are managed under the 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 Application Environments (in the Project Configuration), values for a given property can be specified separately for each environment. For example, the "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 use cases 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.