public enum ThucydidesSystemProperty extends Enum<ThucydidesSystemProperty>
| Enum Constant and Description |
|---|
ACTIVATE_FIREBUGS
Activate the Firebugs plugin for firefox.
|
ACTIVTE_HIGHLIGHTING |
ANNOTATED_REQUIREMENTS_DIRECTORY
Use this property if you need to completely override the location of requirements for the Annotated Provider.
|
BASE_URL
The default starting URL for the application, and base URL for relative paths.
|
BATCH_COUNT
A deprecated property that is synonymous with thucydides.batch.size
|
BATCH_NUMBER
If batch testing is being used, this is the number of the batch being run on this machine.
|
BATCH_SIZE
If batch testing is being used, this is the size of the batches being executed.
|
BATCH_STRATEGY
Batch strategy to use for parallel batches.
|
CHROME_SWITCHES
Arguments to be passed to the Chrome driver, separated by commas.
|
DATA_DIRECTORY
The hierarchy of capability types.
|
DRIVER
The WebDriver driver - firefox, chrome, iexplorer, htmlunit, safari.
|
DRIVER_CAPABILITIES
A set of user-defined capabilities to be used to configure the WebDriver driver.
|
ELEMENT_TIMEOUT
How long should the driver wait for elements not immediately visible, in seconds.
|
ESTIMATED_AVERAGE_STEP_COUNT
The estimated number of steps in a pending scenario.
|
ESTIMATED_TESTS_PER_REQUIREMENT
The estimated number of tests in a typical story.
|
EXTENSION_PACKAGES
Extension packages.
|
FILE_IO_RETRY_TIMEOUT
Timeout (in seconds) for retrying file I/O.
|
FIREFOX_PREFERENCES
Preferences to be passed to the Firefox driver, separated by semi-colons (commas often appear in the preference
values.
|
HISTORY_BASE_DIRECTORY
Base directory in which history files are stored.
|
ISSUE_TRACKER_URL
Base URL for the issue tracking system to be referred to in the reports.
|
JIRA_PASSWORD
If defined, the JIRA password required to connect to JIRA.
|
JIRA_PROJECT
If defined, the JIRA project id will be prepended to issue numbers.
|
JIRA_URL
If the base JIRA URL is defined, Thucydides will build the issue tracker url using the standard JIRA form.
|
JIRA_USERNAME
If defined, the JIRA username required to connect to JIRA.
|
JQUERY_INTEGRATION
Enable JQuery integration.
|
LOCATOR_FACTORY
Normally, Thucydides uses SmartElementLocatorFactory, an extension of the AjaxElementLocatorFactory
when instantiating page objects.
|
LOGGING
Three levels are supported: QUIET, NORMAL and VERBOSE
|
LOWEST_REQUIREMENT_TYPE
Determine what the lowest level requirement (test cases, feature files, story files, should be
called.
|
NATIVE_EVENTS
Activate native events in Firefox.
|
ONLY_SAVE_FAILING_SCREENSHOTS
Should Thucydides only store screenshots for failing steps?
This can save disk space and speed up the tests somewhat.
|
OUTPUT_DIRECTORY
Where should reports be generated.
|
PHANTOMJS_PATH
Path to PhantomJS executable
|
PHANTOMJS_WEBDRIVER_PORT
What port to run PhantomJS on (used in conjunction with webdriver.remote.url to
register with a Selenium hub, e.g.
|
PROJECT_KEY
A unique identifier for the project under test, used to record test statistics.
|
PROPERTIES
Allows you to override the default thucydides.properties location for properties file.
|
PROVIDED_DRIVER_TYPE
If using a provided driver, what type is it.
|
PROXY_PASSWORD
HTTP Proxy password configuration for Firefox and PhantomJS
|
PROXY_PORT
HTTP Proxy port configuration for Firefox and PhantomJS
|
PROXY_TYPE
HTTP Proxy type configuration for Firefox and PhantomJS
|
PROXY_URL
HTTP Proxy URL configuration for Firefox and PhantomJS
|
PROXY_USER
HTTP Proxy username configuration for Firefox and PhantomJS
|
PUBLIC_URL
Public URL where the Thucydides reports will be displayed.
|
RECORD_STATISTICS
Record test result statistics in a database for reporting purposes.
|
REFUSE_UNTRUSTED_CERTIFICATES
Don't accept sites using untrusted certificates.
|
REMOTE_DRIVER
The driver to be used for remote drivers
|
REMOTE_URL
The URL to be used for remote drivers (including a selenium grid hub)
|
REPORT_RESOURCE_PATH
Indicates a directory from which the resources for the HTML reports should be copied.
|
REQUIREMENT_EXCLUSIONS
When deriving requirement types from a path, exclude any values from this comma-separated list.
|
REQUIREMENT_TYPES
The hierarchy of requirement types.
|
REQUIREMENTS_DIRECTORY
Use this property if you need to completely override the location of requirements for the File System Provider.
|
RESIZED_WIDTH
If set, resize screenshots to this size to save space.
|
RESTART_BROWSER_FREQUENCY
Restart the browser every so often during data-driven tests.
|
SAUCELABS_ACCESS_KEY
SauceLabs access key - if provided, Thucydides can generate links to the SauceLabs reports that don't require a login.
|
SAUCELABS_DRIVER_VERSION |
SAUCELABS_IMPLICIT_TIMEOUT
Override the default implicit timeout value for the Saucelabs driver.
|
SAUCELABS_RECORD_SCREENSHOTS
Saucelabs records screenshots as well as videos by default.
|
SAUCELABS_TARGET_PLATFORM |
SAUCELABS_TEST_NAME |
SAUCELABS_URL
SauceLabs URL if running the web tests on SauceLabs
|
SAUCELABS_USER_ID
SauceLabs user id - if provided with the access key,
Thucydides can generate links to the SauceLabs reports that don't require a login.
|
SECURITY_ENABLE_JAVA
Enable applets in Firefox.
|
SHOW_STEP_DETAILS
Should Thucydides display detailed information in the test result tables.
|
SNAPSHOT_HEIGHT
Redimension the browser to enable larger screenshots.
|
SNAPSHOT_WIDTH
Redimension the browser to enable larger screenshots.
|
STATISTICS_DIALECT |
STATISTICS_DRIVER |
STATISTICS_PASSWORD |
STATISTICS_URL |
STATISTICS_USERNAME |
STEP_DELAY
Pause (in ms) between each test step.
|
TAGS
If provided, only classes and/or methods with tags in this list will be executed.
|
TEST_REQUIREMENTS_ROOT
The base directory in which requirements are kept.
|
THUCYDIDES_CONSOLE_HEADINGS
Write the console headings using ascii-art ("ascii", default value) or in normal text ("normal")
|
THUCYDIDES_DATABASE_JDBC_OPTIONS
Additional options to be added to the JDBC connection for the default file-based database.
|
THUCYDIDES_EXTRA_COLUMNS
Add extra columns to the CSV output, obtained from tag values.
|
THUCYDIDES_HOME
The home directory for Thucydides output and data files - by default, $USER_HOME/.thucydides
|
THUCYDIDES_KEEP_UNSCALED_SCREENSHOTS
If set to true, a copy of the original screenshot will be kept when screenshots are scaled for the reports.
|
THUCYDIDES_NARRATIVE_FORMAT
If set to true, Asciidoc formatting will be supported in the narrative texts.
|
THUCYDIDES_REPORT_FORMAT
Internal report format used when loading test outcome reports during aggregation - json or xml (xml by default)
|
THUCYDIDES_STORE_HTML_SOURCE
Set to true if you want the HTML source code to be recorded as well as the screenshots.
|
THUCYDIDES_TAKE_SCREENSHOTS
Fine-grained control over when screenshots are to be taken.
|
THUCYDIDES_TEST_ROOT
The root package for the tests in a given project.
|
TIMEOUTS_IMPLICIT_WAIT
How long webdriver waits for elements to appear by default, in milliseconds.
|
UNIQUE_BROWSER
Use the same browser for all tests (the "Highlander" rule)
|
VERBOSE_SCREENSHOTS
Should Thucydides take screenshots for every clicked button and every selected link?
By default, a screenshot will be stored at the start and end of each step.
|
VERBOSE_STEPS
If set to true, WebElementFacade events and other step actions will be logged to the console.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HEIGHT |
static int |
DEFAULT_WIDTH |
| Modifier and Type | Method and Description |
|---|---|
String |
from(EnvironmentVariables environmentVariables) |
String |
from(EnvironmentVariables environmentVariables,
String defaultValue) |
String |
getPropertyName() |
boolean |
isDefinedIn(EnvironmentVariables environmentVariables) |
String |
toString() |
static ThucydidesSystemProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThucydidesSystemProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThucydidesSystemProperty DRIVER
public static final ThucydidesSystemProperty PROVIDED_DRIVER_TYPE
public static final ThucydidesSystemProperty BASE_URL
public static final ThucydidesSystemProperty REMOTE_URL
public static final ThucydidesSystemProperty PHANTOMJS_WEBDRIVER_PORT
public static final ThucydidesSystemProperty REMOTE_DRIVER
public static final ThucydidesSystemProperty PROJECT_KEY
public static final ThucydidesSystemProperty THUCYDIDES_HOME
public static final ThucydidesSystemProperty THUCYDIDES_DATABASE_JDBC_OPTIONS
public static final ThucydidesSystemProperty RECORD_STATISTICS
public static final ThucydidesSystemProperty REPORT_RESOURCE_PATH
public static final ThucydidesSystemProperty OUTPUT_DIRECTORY
public static final ThucydidesSystemProperty ONLY_SAVE_FAILING_SCREENSHOTS
public static final ThucydidesSystemProperty DRIVER_CAPABILITIES
public static final ThucydidesSystemProperty VERBOSE_SCREENSHOTS
public static final ThucydidesSystemProperty VERBOSE_STEPS
public static final ThucydidesSystemProperty THUCYDIDES_TAKE_SCREENSHOTS
public static final ThucydidesSystemProperty SHOW_STEP_DETAILS
public static final ThucydidesSystemProperty RESTART_BROWSER_FREQUENCY
public static final ThucydidesSystemProperty STEP_DELAY
public static final ThucydidesSystemProperty ELEMENT_TIMEOUT
public static final ThucydidesSystemProperty REFUSE_UNTRUSTED_CERTIFICATES
public static final ThucydidesSystemProperty UNIQUE_BROWSER
public static final ThucydidesSystemProperty ESTIMATED_AVERAGE_STEP_COUNT
public static final ThucydidesSystemProperty ESTIMATED_TESTS_PER_REQUIREMENT
public static final ThucydidesSystemProperty ISSUE_TRACKER_URL
public static final ThucydidesSystemProperty NATIVE_EVENTS
public static final ThucydidesSystemProperty JIRA_URL
public static final ThucydidesSystemProperty JIRA_PROJECT
public static final ThucydidesSystemProperty JIRA_USERNAME
public static final ThucydidesSystemProperty JIRA_PASSWORD
public static final ThucydidesSystemProperty HISTORY_BASE_DIRECTORY
public static final ThucydidesSystemProperty SNAPSHOT_HEIGHT
public static final ThucydidesSystemProperty SNAPSHOT_WIDTH
public static final ThucydidesSystemProperty RESIZED_WIDTH
public static final ThucydidesSystemProperty PUBLIC_URL
public static final ThucydidesSystemProperty ACTIVATE_FIREBUGS
public static final ThucydidesSystemProperty SECURITY_ENABLE_JAVA
public static final ThucydidesSystemProperty ACTIVTE_HIGHLIGHTING
public static final ThucydidesSystemProperty BATCH_STRATEGY
public static final ThucydidesSystemProperty BATCH_COUNT
public static final ThucydidesSystemProperty BATCH_SIZE
public static final ThucydidesSystemProperty BATCH_NUMBER
public static final ThucydidesSystemProperty PROXY_URL
public static final ThucydidesSystemProperty PROXY_PORT
public static final ThucydidesSystemProperty PROXY_TYPE
public static final ThucydidesSystemProperty PROXY_USER
public static final ThucydidesSystemProperty PROXY_PASSWORD
public static final ThucydidesSystemProperty TIMEOUTS_IMPLICIT_WAIT
public static final ThucydidesSystemProperty EXTENSION_PACKAGES
public static final ThucydidesSystemProperty CHROME_SWITCHES
public static final ThucydidesSystemProperty FIREFOX_PREFERENCES
public static final ThucydidesSystemProperty JQUERY_INTEGRATION
public static final ThucydidesSystemProperty SAUCELABS_TARGET_PLATFORM
public static final ThucydidesSystemProperty SAUCELABS_DRIVER_VERSION
public static final ThucydidesSystemProperty SAUCELABS_TEST_NAME
public static final ThucydidesSystemProperty SAUCELABS_URL
public static final ThucydidesSystemProperty SAUCELABS_ACCESS_KEY
public static final ThucydidesSystemProperty SAUCELABS_USER_ID
public static final ThucydidesSystemProperty SAUCELABS_IMPLICIT_TIMEOUT
public static final ThucydidesSystemProperty SAUCELABS_RECORD_SCREENSHOTS
public static final ThucydidesSystemProperty FILE_IO_RETRY_TIMEOUT
public static final ThucydidesSystemProperty LOGGING
public static final ThucydidesSystemProperty THUCYDIDES_TEST_ROOT
public static final ThucydidesSystemProperty REQUIREMENTS_DIRECTORY
public static final ThucydidesSystemProperty ANNOTATED_REQUIREMENTS_DIRECTORY
public static final ThucydidesSystemProperty LOWEST_REQUIREMENT_TYPE
public static final ThucydidesSystemProperty REQUIREMENT_TYPES
public static final ThucydidesSystemProperty REQUIREMENT_EXCLUSIONS
public static final ThucydidesSystemProperty LOCATOR_FACTORY
public static final ThucydidesSystemProperty DATA_DIRECTORY
public static final ThucydidesSystemProperty PROPERTIES
public static final ThucydidesSystemProperty STATISTICS_DRIVER
public static final ThucydidesSystemProperty STATISTICS_URL
public static final ThucydidesSystemProperty STATISTICS_USERNAME
public static final ThucydidesSystemProperty STATISTICS_PASSWORD
public static final ThucydidesSystemProperty STATISTICS_DIALECT
public static final ThucydidesSystemProperty TEST_REQUIREMENTS_ROOT
public static final ThucydidesSystemProperty THUCYDIDES_STORE_HTML_SOURCE
public static final ThucydidesSystemProperty THUCYDIDES_KEEP_UNSCALED_SCREENSHOTS
public static final ThucydidesSystemProperty TAGS
public static final ThucydidesSystemProperty THUCYDIDES_EXTRA_COLUMNS
public static final ThucydidesSystemProperty THUCYDIDES_CONSOLE_HEADINGS
public static final ThucydidesSystemProperty THUCYDIDES_NARRATIVE_FORMAT
public static final ThucydidesSystemProperty THUCYDIDES_REPORT_FORMAT
public static final ThucydidesSystemProperty PHANTOMJS_PATH
public static final int DEFAULT_HEIGHT
public static final int DEFAULT_WIDTH
public static ThucydidesSystemProperty[] values()
for (ThucydidesSystemProperty c : ThucydidesSystemProperty.values()) System.out.println(c);
public static ThucydidesSystemProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getPropertyName()
public String toString()
toString in class Enum<ThucydidesSystemProperty>public String from(EnvironmentVariables environmentVariables)
public String from(EnvironmentVariables environmentVariables, String defaultValue)
public boolean isDefinedIn(EnvironmentVariables environmentVariables)
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.