-
Notifications
You must be signed in to change notification settings - Fork 80
The application.properties file
Tal Abraham edited this page Nov 14, 2016
·
1 revision
##application.properties File The application.properties file is located in the resources folder and contains the settings for the driver created for the test suite. These should be set once for all tests run by the package and specify the high-level parameters of the tests.
The basic values set in this configuration file include:
- appium.capabilities.automationName - object tree type for object identification. For native or hybrid applications value will be Appium. For web applications value will be Perfecto.
Values that identify the application to test include:
- env.baseurl - the URL of the WEB application, provided when testing a Web application.
- driver.capabilities.browserName - mobile browser to use for web application, values can be either MobileOS (default browser of mobile device), Chrome, or Safari
- driver.capabilities.bundleId - the package name of application, provided when testing an iOS application.
- driver.capabilities.appPackage - the package name of application, provided when testing an Android application.
- driver.capabilities.appActivity - application activity to start, provided for Android application, if not starting from default activity.
- driver.capabilities.appName - display name of the application, provided for mobile application.
Values used for Perfecto settings include:
- driver.capabilities.scriptName - String used as header of the execution report.
- driver.name - indicates the type of automation driver to create. For purposes of Quantum, use the value appiumRemoteDriver.
Values used internally by the underlying automation driver include:
- selenium.wait.timeout - number of milliseconds to wait for display action to complete.
- selenium.success_screenshots - indicates if screenshots should be saved from successful checkpoints. Values are 1 (true) or 0 (false).
-
Configuration and setup
-
BDD
-
Java