Global Parameters are used to store values that are applicable at a Project level.
Global Parameters are defined at project level in accelQ. These are used for managing parameters that are applicable at application level such as your application URL. Values for these parameters 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.
Global Parameters are managed under Resources tab of Navigator. If you enabled Multi Application Environments (in project configuration), values for a given parameter can be specified separately for each environment. For example, APPLICATION URL can hold different values for different application environments.
Global parameters can be directly used in Action logic or can be used at Scenario level while overriding a step (action) parameter. Global parameter can also be used to define entry point URL at Context level (while defining a Context).
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.