Using CA Application Test › Using the Workstation and Console with CA Application Test › Building Test Cases › Properties › Property Sources
Property Sources
Properties can originate from several sources that include:
- DevTest
- Environmental variables
- Command-line variables on startup
- Configurations
- Companions
- Test steps
- Filters
- Data sets
- String patterns
Because the properties can be overridden, it is important to understand the property hierarchy (the order in which properties are read in a test case).
The following hierarchy is used:
- Properties that are loaded during the setup of a test.
- Operating system environment variables (like java.version or os.user, for example).
- DevTest property files.
- Command-line attributes.
- The default configuration.
- Any alternative configuration properties (from active configuration or runtime configuration file).
- Properties that are set during a test run.
- Properties in companions.
- Properties that are set during test execution (for example, in data sets, filters and steps). Properties set during test execution override values that were set earlier.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|