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 |
BROWSERMOB_PROXY
The value assigned to the START_INTERNAL_PROXY setting to start the BrowserMob proxy
|
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_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 |
DISABLE_INTEROP
This system property can be set to true to disable all automatic workarounds implemented for different
browsers.
|
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_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.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 |
FIREFOX
The value assigned to the system property to indicate that the tests should
be run in Firefox.
|
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 |
GROUP_NAME_SYSTEM_PROPERTY
This system property defines the group of features and capabilities that we'll be testing
|
static java.lang.String |
HTML_REPORT_FILE
A system property used to enable or disable the HTML report file
|
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 |
MARIONETTE
The value assigned to the system property to indicate that the tests should
be run in Firefox using the Marionette driver.
|
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 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_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 |
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 |
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 java.lang.String |
URLS_XPATH |
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 java.lang.String |
ZAP_API_KEY
Change this if you have set the apikey in ZAP via Options / API
|
static java.lang.String |
ZED_ATTACK_PROXY
The value assigned to the START_INTERNAL_PROXY setting to start the ZAP proxy
|
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 ZED_ATTACK_PROXY
public static final java.lang.String BROWSERMOB_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 REMOTE_TESTS
public static final java.lang.String CHROME
public static final java.lang.String MARIONETTE
public static final java.lang.String FIREFOX
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 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 CHROME_EXECUTABLE_LOCATION_SYSTEM_PROPERTY
public static final java.lang.String OPERA_WEB_DRIVER_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 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