public enum ApplicationProperties extends java.lang.Enum<ApplicationProperties>
Enum Constant and Description |
---|
AUTO_WAIT_EXCLUDE_CMD
key:
selenium.skip.autowait value: comma separated command list to be excluded from auto-wait. |
AUTO_WAIT_INCLUDE_CMD
key:
auto.wait.include.commands value: additional comma separated command list to be included for auto-wait. |
BEAN_POPULATE_RANDOM
key:
bean.populate.random value: boolean value to specify whether to populate bean data randomly or in sequence. |
CAPABILITY_NAME_DRIVER_CLASS
key:
driverClass value: capability name to specify driver class name. |
CAPTURE_NETWORK_TRAFFIC
key:
selenium.capture.network.traffic value: flag to set capture network traffic true/false, default value is false |
CHROME_DRIVER_PATH
key:
webdriver.chrome.driver value: Set Chrome driver path. |
CMD_EXECUTION_INTERVAL
key:
commands.execution.interval value: Set execution interval between two selenium commands. |
CURRENT_TEST_CONTEXT
key:
tng.context value: ITestContext object for current running
thread/test-case. |
CURRENT_TEST_DESCRIPTION
key:
current.testcase.desc value: description of the current running test case. |
CURRENT_TEST_NAME
key:
current.testcase.name value: name of the current running test case. |
CURRENT_TEST_RESULT
key:
current.testcase.result value: ITestResult object for the current running test
case. |
DEFAULT_LOCALE
key:
env.default.locale value: local name from loaded locals that need to treated as default local |
DRIVER_ADDITIONAL_CAPABILITIES
key:
driver.additional.capabilities value: specify multiple additional capabilities as map that can applicable for any driver. |
DRIVER_ADDITIONAL_CAPABILITIES_FORMAT
key:
<drivername>.additional.capabilities
value: specify multiple additional capabilities as map that can applicable for specific driver. |
DRIVER_CAPABILITY_PREFIX
key:
driver.capabilities value: specify additional capability by name with this prefix that can applicable for any driver. |
DRIVER_CAPABILITY_PREFIX_FORMAT
key:
<drivername>.capabilities value: specify additional capability by name with this prefix that can applicable for specific driver. |
DRIVER_INIT_TIMEOUT
key:
driver.init.retry.timeout value: duration in multiplication of 10 seconds for example 50. |
DRIVER_NAME
key:
driver.name value: driver to be used, for instance firefoxDriver or firefoxRemoteDriver etc... |
DRIVER_RESOURCES_FORMAT
key:
driver.resources.format value: file or directory to load driver specific resources, for instance driver specific locators. |
DRY_RUN_MODE |
ELEMENT_ATTACH_DEFAULT_LISTENER
Specify weather to attach default element listener or not.
|
ELEMENT_GLOBAL_METADATA
To set default meta-data for all element.
|
ENCRYPTED_PASSWORD_KEY_PREFIX
key:
encrypted value: property with prefix 'encrypted'. |
FAILURE_SCREENSHOT
key:
selenium.failure.screenshots value: set this flag to 1 if you want to capture screen-shots for assertion/verification failures. |
HTTPS_ACCEPT_ALL_CERT
Set true to trust all certificates and ignore host name verification for
web-services.
|
INTEGRATION_PARAM_JIRA_PROJECT
key:
integration.param.jira.project value: Set JIRA Projects. |
INTEGRATION_PARAM_JIRA_PWD
key:
integration.param.jira.password value: Set JIRA Password. |
INTEGRATION_PARAM_JIRA_SERVICE_URL
key:
integration.param.jira.baseurl value: Set JIRA Base URL. |
INTEGRATION_PARAM_JIRA_USER
key:
integration.param.jira.username value: Set JIRA Username. |
INTEGRATION_PARAM_QMETRY_BLD
key:
integration.param.qmetry.build value: Set QMetry build. |
INTEGRATION_PARAM_QMETRY_CYCLE
key:
integration.param.qmetry.cycle value: Set QMetry release. |
INTEGRATION_PARAM_QMETRY_DROP
key:
integration.param.qmetry.drop value: Set QMetry drop id. |
INTEGRATION_PARAM_QMETRY_PLATFORM
key:
integration.param.qmetry.platform value: Set QMetry platform id. |
INTEGRATION_PARAM_QMETRY_PRJ
key:
integration.param.qmetry.project value: Set QMetry project. |
INTEGRATION_PARAM_QMETRY_PWD
key:
integration.param.qmetry.pwd value: Set QMetry web service password. |
INTEGRATION_PARAM_QMETRY_REL
key:
integration.param.qmetry.release value: Set QMetry release. |
INTEGRATION_PARAM_QMETRY_SCHEDULE_FILE
key:
qmetry.schedule.file value: Set QMetry Schedule XML file path. |
INTEGRATION_PARAM_QMETRY_SERVICE_URL
key:
integration.param.qmetry.service.url value: Set QMetry web service URL. |
INTEGRATION_PARAM_QMETRY_SUIT
key:
integration.param.qmetry.suitid value: Set QMetry suit id. |
INTEGRATION_PARAM_QMETRY_SUITERUNID
key:
integration.param.qmetry.suitid value: Set QMetry suit id. |
INTEGRATION_PARAM_QMETRY_USER
key:
integration.param.qmetry.user value: Set QMetry web service login user name. |
INTEGRATION_TOOL_QMETRY
key:
integration.tool.qmetry value: flag that indicates integration with QMetry |
INTEGRATION_TOOL_QMETRY_UPLOADATTACHMENTS
key:
integration.tool.qmetry.uploadattachments value: flag that indicates integration with QMetry |
ISFW_BUILD_DATE
key:
isfw.build.date value: ISFW build date local |
ISFW_BUILD_INFO
key:
isfw.build.info value: ISFW build information - version, revision and build date. |
ISFW_REVISION
key:
isfw.revision value: ISFW revision local |
ISFW_VERSION
key:
isfw.version value: ISFW version local |
JSON_REPORT_DIR |
JSON_REPORT_ROOT_DIR |
LOAD_LOCALES
key:
env.load.locales value: list of local names to be loaded |
LOCALE_CHAR_ENCODING |
METADATA_FORMTTOR_PREFIX
Set format as supported by
MessageFormat that accepts one argument. |
METADATA_RULES
Set list of meta-data rule to be applied on meta-data during dryrun.
|
PASSWORD_DECRYPTOR_IMPL |
PROXY_HOSTS_KEY
Set one or more host url that needs to be proxied through given proxy server.
|
PROXY_PORT_KEY
Set proxy server port that needs to used by
UriProxySelector . |
PROXY_SERVER_KEY
Set proxy server that needs to used by
UriProxySelector |
QAF_LISTENERS
key:
qaf.listeners value: list of qaf listeners (fully qualified class name that implements any of QAFTestStepListener ,
QAFWebDriverCommandListener ,
QAFWebElementCommandListener ) to be registered. |
QC_DOMAIN
key:
qc.domain value: Set QC domain name that will be used to lookup QC project |
QC_PROJECT
key:
qc.project value: Set QC project name that where test case defined |
QC_PWD
key:
qc.pwd value: Set QC user password |
QC_RUN_NAME
key:
qc.run.name value: Set QC run name. |
QC_RUN_NAME_GENERATOR
key:
qc.runname.generator.impl value: qualified class name that implements com.qmetry.qaf.automation.integration.qc.QCRunNameGenerator interface. |
QC_SERVICE_URL
key:
qc.service.url value: QC service URL, for example: http://10.20.30.252:8080/qcbin/ |
QC_TC_FOLDER_PATH
key:
qc.testcase.folder.path value: Set QC test case folder path. |
QC_TIMEZONE
key:
qc.timezone value: (Optional)Set QC server time - that will be used while setting date/time in run result. |
QC_TS_FOLDER_PATH
key:
qc.testset.folder.path value: Set QC test set folder path. |
QC_TS_NAME
key:
qc.testset.name value: Set QC test set name. |
QC_USER
key:
qc.user value: Set QC user name that will be used to access QC |
REMOTE_PORT
key:
remote.port value: remote server port, which will be considered if configured remote driver. |
REMOTE_SERVER
key:
remote.server value: remote server url, which will be considered if configured remote driver. |
REPORT_DIR
key:
test.results.dir value: dir to place generated result files |
REPORTER_LOG_EXCLUDE_CMD
key:
reporter.log.exclude.commands value: additional comma separated command list to be excluded form selenium log in HTML report. |
REST_CLIENT_FACTORY_IMPL |
RETRY_ANALYZER
key:
retry.analyzer value: fully qualified class name that implements IRetryAnalyzer . |
RETRY_CNT
key:
retry.count value: integer to specify how many times test should be retried on failure by default retry analyzer. |
SCREENSHOT_DIR
key:
selenium.screenshots.dir value: dir to place screen-shots |
SCREENSHOT_RELATIVE_PATH
key:
selenium.screenshots.relative.path value: screen-shots relative path for reporting |
SELENIUM_AUTO_SHUTDOWN
key:
selenium.auto.shutdown value: flag to auto shutdown selenium server |
SELENIUM_BASE_URL
key:
env.baseurl value: base URL of AUT to be used. |
SELENIUM_CMD_LISTENERS
key:
selenium.command.listeners value: provide comma separated custom command listeners. |
SELENIUM_WAIT_TIMEOUT
key:
selenium.wait.timeout value: default wait time to be used by framework by wait/assert/verify methods |
SKIP_AUTO_WAIT
key:
selenium.skip.autowait value:flag to skip auto wait for locator used in command, default value is false |
STEP_PROVIDER_PKG
key:
step.provider.pkg value: one or more package name from where test-step should be loaded. |
SUCEESS_SCREENSHOT
key:
selenium.success.screenshots value: set this flag to 1 if you want to capture screen-shots for assertion/verification success. |
TESTCASE_IDENTIFIER_KEY
Set test case identifier meta-key which will be used to as file name of
test case result json file.
|
TESTSTEP_LISTENERS
key:
teststep.listeners value: list of test step listeners (fully qualified class name that implements QAFTestStepListener) to be registered. |
WEBDRIVER_COMMAND_LISTENERS
key:
wd.command.listeners value: list of webdriver command listeners (fully qualified class name that implements QAFWebDriverCommandListener) to be registered. |
WEBDRIVER_REMOTE_SESSION
key:
webdriver.remote.session value: Set existing session of web-driver. |
WEBELEMENT_COMMAND_LISTENERS
key:
we.command.listeners value: list of webelement command listeners (fully qualified class name that implements QAFWebElementCommandListener) to be registered. |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
key |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolenVal(boolean... defaultVal) |
int |
getIntVal(int... defaultVal) |
java.lang.Object |
getObject(java.lang.Object... defaultVal) |
java.lang.String |
getStringVal(java.lang.String... defaultVal) |
static ApplicationProperties |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationProperties REPORT_DIR
test.results.dir
public static final ApplicationProperties JSON_REPORT_ROOT_DIR
public static final ApplicationProperties JSON_REPORT_DIR
public static final ApplicationProperties SCREENSHOT_DIR
selenium.screenshots.dir
public static final ApplicationProperties SCREENSHOT_RELATIVE_PATH
selenium.screenshots.relative.path
public static final ApplicationProperties SUCEESS_SCREENSHOT
selenium.success.screenshots
public static final ApplicationProperties FAILURE_SCREENSHOT
selenium.failure.screenshots
public static final ApplicationProperties SELENIUM_WAIT_TIMEOUT
selenium.wait.timeout
public static final ApplicationProperties SELENIUM_AUTO_SHUTDOWN
selenium.auto.shutdown
public static final ApplicationProperties CURRENT_TEST_CONTEXT
tng.context
ITestContext
object for current running
thread/test-case.public static final ApplicationProperties CURRENT_TEST_NAME
current.testcase.name
public static final ApplicationProperties CURRENT_TEST_DESCRIPTION
current.testcase.desc
public static final ApplicationProperties CURRENT_TEST_RESULT
current.testcase.result
ITestResult
object for the current running test
case.public static final ApplicationProperties DRIVER_NAME
driver.name
public static final ApplicationProperties DRIVER_RESOURCES_FORMAT
driver.resources.format
androidDriver
or androidRemoteDriver
you can
specify resources for android driver by using
android.resources
key.public static final ApplicationProperties DRIVER_INIT_TIMEOUT
driver.init.retry.timeout
public static final ApplicationProperties DRIVER_ADDITIONAL_CAPABILITIES
driver.additional.capabilities
#DRIVER_CAPABILITY_PREFIX} to provide individual capability
{@link #DRIVER_ADDITIONAL_CAPABILITIES_FORMAT} to provide driver
specific capability
public static final ApplicationProperties DRIVER_CAPABILITY_PREFIX
driver.capabilities
#DRIVER_ADDITIONAL_CAPABILITIES} to provide multiple
additional capabilities
public static final ApplicationProperties DRIVER_ADDITIONAL_CAPABILITIES_FORMAT
<drivername>.additional.capabilities
#DRIVER_CAPABILITY_PREFIX} to provide single capability
{@link #DRIVER_ADDITIONAL_CAPABILITIES} to provide capability for
all drivers
public static final ApplicationProperties DRIVER_CAPABILITY_PREFIX_FORMAT
<drivername>.capabilities
#DRIVER_CAPABILITY_PREFIX} to provide individual capability
{@link #DRIVER_ADDITIONAL_CAPABILITIES_FORMAT} to provide driver
specific capability
public static final ApplicationProperties CAPABILITY_NAME_DRIVER_CLASS
driverClass
public static final ApplicationProperties REMOTE_SERVER
remote.server
public static final ApplicationProperties REMOTE_PORT
remote.port
public static final ApplicationProperties SELENIUM_BASE_URL
env.baseurl
public static final ApplicationProperties SELENIUM_CMD_LISTENERS
selenium.command.listeners
SeleniumCommandListener
public static final ApplicationProperties CAPTURE_NETWORK_TRAFFIC
selenium.capture.network.traffic
public static final ApplicationProperties SKIP_AUTO_WAIT
selenium.skip.autowait
public static final ApplicationProperties AUTO_WAIT_EXCLUDE_CMD
selenium.skip.autowait
public static final ApplicationProperties AUTO_WAIT_INCLUDE_CMD
auto.wait.include.commands
public static final ApplicationProperties REPORTER_LOG_EXCLUDE_CMD
reporter.log.exclude.commands
public static final ApplicationProperties CMD_EXECUTION_INTERVAL
commands.execution.interval
public static final ApplicationProperties INTEGRATION_TOOL_QMETRY
integration.tool.qmetry
public static final ApplicationProperties INTEGRATION_TOOL_QMETRY_UPLOADATTACHMENTS
integration.tool.qmetry.uploadattachments
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_SCHEDULE_FILE
qmetry.schedule.file
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_SERVICE_URL
integration.param.qmetry.service.url
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_USER
integration.param.qmetry.user
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_PWD
integration.param.qmetry.pwd
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_PRJ
integration.param.qmetry.project
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_BLD
integration.param.qmetry.build
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_REL
integration.param.qmetry.release
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_CYCLE
integration.param.qmetry.cycle
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_SUIT
integration.param.qmetry.suitid
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_SUITERUNID
integration.param.qmetry.suitid
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_PLATFORM
integration.param.qmetry.platform
public static final ApplicationProperties INTEGRATION_PARAM_QMETRY_DROP
integration.param.qmetry.drop
public static final ApplicationProperties WEBDRIVER_REMOTE_SESSION
webdriver.remote.session
This feature can be used with remote web-driver
public static final ApplicationProperties CHROME_DRIVER_PATH
webdriver.chrome.driver
public static final ApplicationProperties QC_TS_NAME
qc.testset.name
public static final ApplicationProperties QC_TS_FOLDER_PATH
qc.testset.folder.path
public static final ApplicationProperties QC_TC_FOLDER_PATH
qc.testcase.folder.path
public static final ApplicationProperties QC_RUN_NAME
qc.run.name
public static final ApplicationProperties QC_TIMEZONE
qc.timezone
public static final ApplicationProperties QC_RUN_NAME_GENERATOR
qc.runname.generator.impl
public static final ApplicationProperties QC_USER
qc.user
public static final ApplicationProperties QC_DOMAIN
qc.domain
public static final ApplicationProperties QC_PROJECT
qc.project
public static final ApplicationProperties QC_PWD
qc.pwd
public static final ApplicationProperties QC_SERVICE_URL
qc.service.url
public static final ApplicationProperties LOAD_LOCALES
env.load.locales
public static final ApplicationProperties DEFAULT_LOCALE
env.default.locale
public static final ApplicationProperties LOCALE_CHAR_ENCODING
public static final ApplicationProperties ISFW_VERSION
isfw.version
public static final ApplicationProperties ISFW_REVISION
isfw.revision
public static final ApplicationProperties ISFW_BUILD_DATE
isfw.build.date
public static final ApplicationProperties ISFW_BUILD_INFO
isfw.build.info
public static final ApplicationProperties QAF_LISTENERS
qaf.listeners
QAFTestStepListener
,
QAFWebDriverCommandListener
,
QAFWebElementCommandListener
) to be registered.QAFListener
public static final ApplicationProperties TESTSTEP_LISTENERS
teststep.listeners
QAFTestStepListener
public static final ApplicationProperties WEBDRIVER_COMMAND_LISTENERS
wd.command.listeners
QAFWebDriverCommandListener
public static final ApplicationProperties WEBELEMENT_COMMAND_LISTENERS
we.command.listeners
QAFWebElementCommandListener
public static final ApplicationProperties INTEGRATION_PARAM_JIRA_SERVICE_URL
integration.param.jira.baseurl
public static final ApplicationProperties INTEGRATION_PARAM_JIRA_PWD
integration.param.jira.password
public static final ApplicationProperties INTEGRATION_PARAM_JIRA_PROJECT
integration.param.jira.project
public static final ApplicationProperties INTEGRATION_PARAM_JIRA_USER
integration.param.jira.username
public static final ApplicationProperties STEP_PROVIDER_PKG
step.provider.pkg
public static final ApplicationProperties RETRY_CNT
retry.count
retry.analyzer
public static final ApplicationProperties RETRY_ANALYZER
retry.analyzer
IRetryAnalyzer
. Provide this property to use your custom retry
analyzer.public static final ApplicationProperties BEAN_POPULATE_RANDOM
bean.populate.random
fillFromConfig
method while
populating bean from configuration, when more than one record exist in
configuration .public static final ApplicationProperties DRY_RUN_MODE
public static final ApplicationProperties REST_CLIENT_FACTORY_IMPL
rest.client.impl
RestClientFactory
.public static final ApplicationProperties PASSWORD_DECRYPTOR_IMPL
password.decryptor.impl
PasswordDecryptor
. This implementation will be used to
decrypt password. When configuration manager found any key starts
with ENCRYPTED_PASSWORD_KEY_PREFIX
public static final ApplicationProperties ENCRYPTED_PASSWORD_KEY_PREFIX
encrypted
public static final ApplicationProperties ELEMENT_GLOBAL_METADATA
To set default meta-data for all element. Meta-data provided with locator has higher preference than default values.
key:element.default.metadata
public static final ApplicationProperties ELEMENT_ATTACH_DEFAULT_LISTENER
Specify weather to attach default element listener or not.
key:element.default.listener
public static final ApplicationProperties HTTPS_ACCEPT_ALL_CERT
Set true to trust all certificates and ignore host name verification for web-services.
key:https.accept.all.cert
public static final ApplicationProperties TESTCASE_IDENTIFIER_KEY
Set test case identifier meta-key which will be used to as file name of test case result json file.
key:tc.identifier.key
public static final ApplicationProperties PROXY_SERVER_KEY
public static final ApplicationProperties PROXY_PORT_KEY
Set proxy server port that needs to used by UriProxySelector
.
Default value is 80.
proxy.port
public static final ApplicationProperties PROXY_HOSTS_KEY
Set one or more host url that needs to be proxied through given proxy server.
key:host.to.proxy
public static final ApplicationProperties METADATA_RULES
Set list of meta-data rule to be applied on meta-data during dryrun.
key:metadata.rules
MetaDataRule
public static final ApplicationProperties METADATA_FORMTTOR_PREFIX
Set format as supported by MessageFormat
that accepts one argument.
metadata.formatter
public static ApplicationProperties[] values()
for (ApplicationProperties c : ApplicationProperties.values()) System.out.println(c);
public static ApplicationProperties valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStringVal(java.lang.String... defaultVal)
defaultVal
- optionalpublic int getIntVal(int... defaultVal)
defaultVal
- optionalpublic boolean getBoolenVal(boolean... defaultVal)
defaultVal
- optionalpublic java.lang.Object getObject(java.lang.Object... defaultVal)
Copyright © 2000 Infostretch Corp.