public final class Constants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APP_URL_OVERRIDE_SYSTEM_PROPERTY
The URL to use for the app
|
static java.util.regex.Pattern |
APP_URL_OVERRIDE_SYSTEM_PROPERTY_REGEX
Defines a URL to name mapping from a system property
|
static java.lang.String |
BROWSER_STACK_ACCESS_TOKEN
Sets the access token used when accessing browserstack
|
static java.lang.String |
BROWSER_STACK_USERNAME
Sets the username used when accessing browserstack
|
static java.lang.String |
BROWSERSTACK_VIDEO_FILE_NAME
The name of the downloaded browserstack video file
|
static java.lang.String |
CAPABILITIES_XPATH |
static java.lang.String |
CHROME
The value assigned to the system property to indicate that the tests should
be run in chrome.
|
static java.lang.String |
CHROME_EXECUTABLE_LOCATION_SYSTEM_PROPERTY
The location of the chrome executable
|
static java.lang.String |
CHROME_FULLSCREEN
The value assigned to the system property to indicate that the tests should
be run in chrome run in full screen mode.
|
static java.lang.String |
CHROME_HEADLESS
The value assigned to the system property to indicate that the tests should
be run in chrome.
|
static java.lang.String |
CHROME_HEADLESS_SECURE
The value assigned to the system property to indicate that the tests should
be run in chrome in headless mode locked down.
|
static java.lang.String |
CHROME_SECURE
The value assigned to the system property to indicate that the tests should
be run in chrome with a number of command line switches to lock it down.
|
static java.lang.String |
CHROME_SECURE_FULLSCREEN
The value assigned to the system property to indicate that the tests should
be run in chrome run in full screen mode with security settings enabled.
|
static java.lang.String |
CHROME_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
The location of the chrome webdriver executable See http://chromedriver.storage.googleapis.com/index.html
|
static java.util.regex.Pattern |
COMMENT_LINE |
static java.lang.String |
CONFIGURATION
The name of profiles to load over the BROWSERSTACK_CONFIG_PROFILE_NAME profile for this run
to overwrite some settings.
|
static java.lang.String |
DATA_SETS_PROFILE_SYSTEM_PROPERTY
The name of the profile that contains data sets for the test
|
static java.lang.String |
DEFAULT_PHANTOM_JS_LOGGING_LEVEL
The default phantom js logging level
|
static int |
DEFAULT_WAIT_TIME
Wait a second between steps by default
|
static java.lang.String |
DELAY_BETWEEN_RETRY
Sets the delay between test retries
|
static java.lang.String |
DISABLE_INTEROP
This system property can be set to true to disable all automatic workarounds implemented for different
browsers.
|
static java.lang.String |
DOWNLOAD_BROWSERSTACK_VIDEO_ON_COMPLETION
The system variable that determines if we should download the browserstack
video once the test is complete
|
static java.lang.String |
DRY_RUN
The system property that is set to enable a dry run through the script
|
static java.lang.String |
EDGE
The value assigned to the system property to indicate that the tests should
be run in Edge.
|
static java.lang.String |
EDGE_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
The location of the Edge webdriver executable
|
static int |
ELEMENT_WAIT_SLEEP_TIMEOUT
How quickly Selenium should poll the browser for an element it is waiting for
|
static java.lang.String |
ENABLE_SCREENSHOT_ON_ERROR
If true, the test script will save a screenshot if there was an error
|
static java.lang.String |
ENABLE_SCREENSHOTS
If true, the test script will save a screenshot at the end of each scenario
|
static java.util.regex.Pattern |
ENABLED_HEADER
Metadata comments at the top of a feature script to define whether a feature is enabled or
not
|
static java.lang.String |
EXTERNAL_PROXY_HOST
System property that holds the external proxy host name or ip address
|
static java.lang.String |
EXTERNAL_PROXY_PASSWORD
System property that holds the external proxy password
|
static java.lang.String |
EXTERNAL_PROXY_PORT
System property that holds the external proxy port
|
static java.lang.String |
EXTERNAL_PROXY_REALM
System property that holds the external proxy realm
|
static java.lang.String |
EXTERNAL_PROXY_USERNAME
System property that holds the external proxy username
|
static java.lang.String |
FAIL_ALL_AFTER_FIRST_SCENARIO_ERROR
If set to true, or not set at all, this system property instructs Iridium to fail
all scenarios after the first error.
|
static java.lang.String |
FAILURE_SCREENSHOT_SUFFIX
This prefix is used in the filename for screenshots taken when the script has failed
|
static java.util.regex.Pattern |
FEATURE_GROUP_HEADER
Metadata comments at the top of a feature script to define a feature group
|
static java.lang.String |
FEATURE_GROUP_SYSTEM_PROPERTY
This system property defines the name of the featureGroup that we'll be testing
|
static java.lang.String |
FEATURE_SCRIPT_XPATH_RE
A regex that matches the xpath of a feature node script element
|
static java.lang.String |
FEATURE_XPATH_RE
A regex that matches the xpath of a feature node
|
static java.lang.String |
FILE_DATE_FORMAT
The format of dates that are saved in filenames like screenshots and har files
|
static java.lang.String |
FIREFOX
The value assigned to the system property to indicate that the tests should
be run in Firefox.
|
static java.lang.String |
FIREFOX_BINARY
The location of the Firefox executable
|
static java.lang.String |
FIREFOX_EXECUTABLE_LOCATION_SYSTEM_PROPERTY
The location of the firefox executable
|
static java.lang.String |
FIREFOX_PROFILE_SYSTEM_PROPERTY
The name of the profile to use when starting firefox.
|
static java.lang.String |
FIREFOX_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
The location of the firefox driver
|
static java.lang.String |
FIREFOXHEADLESS
The value assigned to the system property to indicate that the tests should
be run in Firefox in headless mode.
|
static java.lang.String |
GROUP_NAME_SYSTEM_PROPERTY
This system property defines the group of features and capabilities that we'll be testing
|
static java.lang.String |
HAR_FILE_NAME
The default name of the HAR file saved by browsermob
|
static java.lang.String |
HAR_FILE_NAME_EXTENSION
The extension for the default har file
|
static java.lang.String |
HAR_FILE_NAME_PREFIX
The base file name for the default har file
|
static java.lang.String |
HTML_REPORT_FILE
A system property used to enable or disable the HTML report file
|
static int |
HTTP_TIMEOUTS
Default timeouts when making HTTP calls
|
static java.lang.String |
IE
The value assigned to the system property to indicate that the tests should
be run in IE.
|
static java.lang.String |
IE_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
The location of the IE webdriver executable http://selenium-release.storage.googleapis.com/index.html?path=2.53/
|
static java.lang.String |
IMPORT_BASE_URL
This system property defines the name of the featureGroup that we'll be testing
|
static java.lang.String |
JSON_REPORT_FILE
A system property used to enable or disable the JSON report file
|
static java.lang.String |
JUNIT_REPORT_FILE
A system property used to enable or disable the JUnit report file
|
static int |
KEY_STROKE_DELAY
How long to delay when entering each character into a text box
|
static java.lang.String |
LEAVE_WINDOWS_OPEN_SYSTEM_PROPERTY
The name of the system property that defines whether the browser windows should be left open
after the test has been run.
|
static java.lang.String |
LINE_END_OUTPUT
Line endings used by any generated files
|
static java.lang.String |
LINE_END_REGEX
A regex that catches line endings across multiple platforms
|
static java.lang.String |
MARIONETTE
The value assigned to the system property to indicate that the tests should
be run in Firefox using the Marionette driver.
|
static java.lang.String |
MAX_EXECUTION_TIME
The system property that defines how long the app will run for before shuting down
|
static java.lang.String |
MERGED_REPORT
The name of the merged junit xml file
|
static int |
MILLISECONDS_PER_SECOND |
static java.lang.String |
MONOCHROME_OUTPUT
Set this system property to true to configure cucumber to output text in monochrome
|
static int |
MOUSE_MOVE_STEPS
The number of steps to use when moving the mouse across the screen
|
static int |
MOUSE_MOVE_TIME
The amount of time to take moving the mouse across the screen
|
static java.lang.String |
MOUSE_MOVE_VERTICAL_OFFSET
A value to add to the vertical position of elements to account for message bars
like the one in chrome when being run as part of an automated test
|
static java.lang.String |
MOVE_CURSOR_TO_ELEMENT
The system property that can be used to enable the mouse cursor to be moved
to the element being interacted with
|
static java.lang.String |
NAME_ATTRIBUTE
The attribute on a commonTagSet element that defines the name
|
static java.lang.String |
NEW_BROWSER_PER_SCENARIO
If this system property is set to true, a new web driver (and therefor a new browser window)
will be created for every scenario.
|
static java.lang.String |
NUMBER_DATA_SETS_SYSTEM_PROPERTY
The maximum number of data sets to run
|
static java.lang.String |
NUMBER_THREADS_SYSTEM_PROPERTY
How many cucumber instances to run concurrently
|
static java.lang.String |
NUMBER_URLS_SYSTEM_PROPERTY
The maximum number of data sets to run
|
static java.lang.String |
OPEN_REPORT_FILE_SYSTEM_PROPERTY
The name of the system property that defines whether the HTML report is opened automatically
once the test is completed.
|
static java.lang.String |
OPERA
The value assigned to the system property to indicate that the tests should
be run in Opera.
|
static java.lang.String |
OPERA_BIN_LOCATION_SYSTEM_PROPERTY
The location of the opera binary
|
static java.lang.String |
OPERA_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
The location of the opera webdriver executable https://github.com/operasoftware/operachromiumdriver/releases
|
static java.lang.String |
PHANTOM_JS_BINARY_PATH_SYSTEM_PROPERTY
The location of the phantomjs distribution https://github.com/detro/ghostdriver
|
static java.lang.String |
PHANTOMJS
The value assigned to the system property to indicate that the tests should
be run in the headless PhantomJS browser.
|
static java.lang.String |
PHANTOMJS_LOGGING_LEVEL_SYSTEM_PROPERTY
The system property that defines the phantomjs logging level
|
static java.lang.String |
PHANTON_JS_USER_AGENT_SYSTEM_PROPERTY
The system property that defines the phantom js user agent
|
static java.lang.String |
POSTCODE_CLASS
This is the class assigned to the postcode input boxes in A&G apps.
|
static java.lang.String |
REMOTE_TESTS
The value assigned to the TEST_DESTINATION_SYSTEM_PROPERTY to indicate that the tests should
be loaded locally
|
static java.lang.String |
REPORTS_DIRECTORY
The directory that will hold the final reports
|
static java.lang.String |
SAFARI
The value assigned to the TEST_DESTINATION_SYSTEM_PROPERTY to indicate that the tests should
be run in Safari.
|
static java.lang.String |
SAVE_REPORTS_IN_HOME_DIR
The name of the system property that defines whether the cucumber reports are saved in the
users home directory, or in the current working directory
|
static java.lang.String |
SCREEN_ZOOM_FACTOR
The system property that can be used in conjuntion with moveCursorToElement
to define the screen zoom in windows.
|
static java.lang.String |
START_INTERNAL_PROXY
This system property hold the name of an internal proxy to start before the tests are run
|
static java.util.regex.Pattern |
TAG_SET_HEADER
Metadata comments at the top of a feature script to define a tag set
|
static java.lang.String |
TAGS_OVERRIDE_SYSTEM_PROPERTY
The tags to use for the test
|
static java.lang.String |
TEST_DESTINATION_SYSTEM_PROPERTY
Determines where the tests are run (i.e.
|
static java.lang.String |
TEST_RETRY_COUNT
The system property that defines how many times to retry tests before giving up
|
static java.lang.String |
TEST_SOURCE_SYSTEM_PROPERTY
Determines where the tests are loaded from
|
static java.lang.String |
THREAD_NAME_PREFIX
This is the prefix we use for the thread name
|
static int |
TIME_SLICE
Because the web driver is not thread safe, we need to do a running loop over
each of the different element location methods in short time slices to emulate
a parallel search.
|
static java.lang.String |
TXT_REPORT_FILE
A system property used to enable or disable the Text report file
|
static int |
URL_COPY_RETRIES
The number of times we try to copy files from URLs
|
static java.lang.String |
URLS_XPATH |
static java.lang.String |
USE_SUPPLIED_WEBDRIVERS
The system property that can be used to disable the automatic webdriver extraction
|
static java.lang.String |
VIDEO_CAPTURE_SYSTEM_PROPERTY
Whether or not to capture the video of the test
|
static int |
WAIT
How long to wait for an element to be available
|
static int |
WEB_DRIVER_FAILURE_EXIT_CODE
The error code returned when a web driver failed to start
|
static int |
WEBDRIVER_ACTION_RETRIES
The number of times we try to perform web driver actions that might fail
|
static java.lang.String |
ZAP_API_KEY
Change this if you have set the apikey in ZAP via Options / API
|
public static final int HTTP_TIMEOUTS
public static final java.lang.String BROWSERSTACK_VIDEO_FILE_NAME
public static final java.lang.String DOWNLOAD_BROWSERSTACK_VIDEO_ON_COMPLETION
public static final int MOUSE_MOVE_TIME
public static final int MOUSE_MOVE_STEPS
public static final int URL_COPY_RETRIES
public static final int WEBDRIVER_ACTION_RETRIES
public static final int WEB_DRIVER_FAILURE_EXIT_CODE
public static final java.lang.String FILE_DATE_FORMAT
public static final java.lang.String HAR_FILE_NAME_PREFIX
public static final java.lang.String HAR_FILE_NAME_EXTENSION
public static final java.lang.String HAR_FILE_NAME
public static final java.lang.String MOVE_CURSOR_TO_ELEMENT
public static final java.lang.String SCREEN_ZOOM_FACTOR
public static final java.lang.String MOUSE_MOVE_VERTICAL_OFFSET
public static final java.lang.String USE_SUPPLIED_WEBDRIVERS
public static final java.lang.String MAX_EXECUTION_TIME
public static final java.lang.String MERGED_REPORT
public static final java.lang.String DELAY_BETWEEN_RETRY
public static final java.lang.String BROWSER_STACK_ACCESS_TOKEN
public static final java.lang.String BROWSER_STACK_USERNAME
public static final java.lang.String DISABLE_INTEROP
public static final int TIME_SLICE
public static final int MILLISECONDS_PER_SECOND
public static final java.lang.String THREAD_NAME_PREFIX
public static final java.lang.String HTML_REPORT_FILE
public static final java.lang.String JSON_REPORT_FILE
public static final java.lang.String TXT_REPORT_FILE
public static final java.lang.String JUNIT_REPORT_FILE
public static final java.lang.String MONOCHROME_OUTPUT
public static final java.lang.String DRY_RUN
public static final java.lang.String TEST_RETRY_COUNT
public static final java.lang.String NEW_BROWSER_PER_SCENARIO
public static final java.lang.String FAIL_ALL_AFTER_FIRST_SCENARIO_ERROR
public static final java.lang.String START_INTERNAL_PROXY
public static final java.lang.String IMPORT_BASE_URL
public static final java.lang.String FEATURE_GROUP_SYSTEM_PROPERTY
public static final java.lang.String GROUP_NAME_SYSTEM_PROPERTY
public static final java.lang.String TEST_DESTINATION_SYSTEM_PROPERTY
public static final java.lang.String TEST_SOURCE_SYSTEM_PROPERTY
public static final java.lang.String ENABLE_SCREENSHOTS
public static final java.lang.String ENABLE_SCREENSHOT_ON_ERROR
public static final java.lang.String FAILURE_SCREENSHOT_SUFFIX
public static final java.lang.String REMOTE_TESTS
public static final java.lang.String CHROME
public static final java.lang.String CHROME_FULLSCREEN
public static final java.lang.String CHROME_SECURE_FULLSCREEN
public static final java.lang.String CHROME_SECURE
public static final java.lang.String CHROME_HEADLESS
public static final java.lang.String CHROME_HEADLESS_SECURE
public static final java.lang.String MARIONETTE
public static final java.lang.String FIREFOX
public static final java.lang.String FIREFOXHEADLESS
public static final java.lang.String SAFARI
public static final java.lang.String OPERA
public static final java.lang.String IE
public static final java.lang.String EDGE
public static final java.lang.String PHANTOMJS
public static final java.lang.String FIREFOX_BINARY
public static final java.lang.String PHANTOMJS_LOGGING_LEVEL_SYSTEM_PROPERTY
public static final java.lang.String PHANTON_JS_USER_AGENT_SYSTEM_PROPERTY
public static final java.lang.String DEFAULT_PHANTOM_JS_LOGGING_LEVEL
public static final java.lang.String CHROME_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String FIREFOX_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String CHROME_EXECUTABLE_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String OPERA_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String OPERA_BIN_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String EDGE_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String PHANTOM_JS_BINARY_PATH_SYSTEM_PROPERTY
public static final java.lang.String IE_WEB_DRIVER_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String FIREFOX_PROFILE_SYSTEM_PROPERTY
public static final java.lang.String FIREFOX_EXECUTABLE_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String NUMBER_DATA_SETS_SYSTEM_PROPERTY
public static final java.lang.String DATA_SETS_PROFILE_SYSTEM_PROPERTY
public static final java.lang.String NUMBER_URLS_SYSTEM_PROPERTY
public static final java.lang.String APP_URL_OVERRIDE_SYSTEM_PROPERTY
public static final java.util.regex.Pattern APP_URL_OVERRIDE_SYSTEM_PROPERTY_REGEX
public static final java.lang.String TAGS_OVERRIDE_SYSTEM_PROPERTY
public static final java.lang.String CONFIGURATION
public static final java.lang.String LEAVE_WINDOWS_OPEN_SYSTEM_PROPERTY
public static final java.lang.String OPEN_REPORT_FILE_SYSTEM_PROPERTY
public static final java.lang.String REPORTS_DIRECTORY
public static final java.lang.String SAVE_REPORTS_IN_HOME_DIR
public static final java.lang.String NUMBER_THREADS_SYSTEM_PROPERTY
public static final java.lang.String VIDEO_CAPTURE_SYSTEM_PROPERTY
public static final java.lang.String CAPABILITIES_XPATH
public static final java.lang.String URLS_XPATH
public static final java.lang.String POSTCODE_CLASS
public static final java.lang.String FEATURE_XPATH_RE
public static final java.lang.String FEATURE_SCRIPT_XPATH_RE
public static final java.lang.String NAME_ATTRIBUTE
public static final java.util.regex.Pattern COMMENT_LINE
public static final java.util.regex.Pattern FEATURE_GROUP_HEADER
public static final java.util.regex.Pattern TAG_SET_HEADER
public static final java.util.regex.Pattern ENABLED_HEADER
public static final int WAIT
public static final int DEFAULT_WAIT_TIME
public static final java.lang.String EXTERNAL_PROXY_HOST
public static final java.lang.String EXTERNAL_PROXY_PORT
public static final java.lang.String EXTERNAL_PROXY_USERNAME
public static final java.lang.String EXTERNAL_PROXY_PASSWORD
public static final java.lang.String EXTERNAL_PROXY_REALM
public static final java.lang.String ZAP_API_KEY
public static final int KEY_STROKE_DELAY
public static final int ELEMENT_WAIT_SLEEP_TIMEOUT
public static final java.lang.String LINE_END_REGEX
public static final java.lang.String LINE_END_OUTPUT