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.randomvalue: 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.localevalue: 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:
encryptedvalue: 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.datevalue: ISFW build date local |
ISFW_BUILD_INFO
key:
isfw.build.infovalue: ISFW build information - version, revision and build date. |
ISFW_REVISION
key:
isfw.revisionvalue: ISFW revision local |
ISFW_VERSION
key:
isfw.versionvalue: ISFW version local |
JSON_REPORT_DIR |
JSON_REPORT_ROOT_DIR |
LOAD_LOCALES
key:
env.load.localesvalue: 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.listenersvalue: list of qaf listeners (fully qualified class name that implements any of QAFTestStepListener,
QAFWebDriverCommandListener,
QAFWebElementCommandListener) to be registered. |
QC_DOMAIN
key:
qc.domainvalue: Set QC domain name that will be used to lookup QC project |
QC_PROJECT
key:
qc.projectvalue: Set QC project name that where test case defined |
QC_PWD
key:
qc.pwdvalue: Set QC user password |
QC_RUN_NAME
key:
qc.run.namevalue: Set QC run name. |
QC_RUN_NAME_GENERATOR
key:
qc.runname.generator.implvalue: qualified class name that implements com.qmetry.qaf.automation.integration.qc.QCRunNameGenerator interface. |
QC_SERVICE_URL
key:
qc.service.urlvalue: QC service URL, for example: http://10.20.30.252:8080/qcbin/ |
QC_TC_FOLDER_PATH
key:
qc.testcase.folder.pathvalue: Set QC test case folder path. |
QC_TIMEZONE
key:
qc.timezonevalue: (Optional)Set QC server time - that will be used while setting date/time in run result. |
QC_TS_FOLDER_PATH
key:
qc.testset.folder.pathvalue: Set QC test set folder path. |
QC_TS_NAME
key:
qc.testset.name value: Set QC test set name. |
QC_USER
key:
qc.uservalue: Set QC user name that will be used to access QC |
REMOTE_PORT
key:
remote.portvalue: remote server port, which will be considered if configured remote driver. |
REMOTE_SERVER
key:
remote.servervalue: remote server url, which will be considered if configured remote driver. |
REPORT_DIR
key:
test.results.dir value: dir to place generated result files |
REPORT_LOG_LEVEL
key:
report.log.levelvalue: one of Info, Pass, Fail Info will report Info, pass and fail messages Pass will report pass and fail messages but not Info Fail will report fail messages but not Info or Pass |
REPORT_SKIP_SUCCESS
key:
report.log.skip.successvalue: boolean, when true it will not show verification success message in report. |
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.analyzervalue: 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.listenersvalue: list of test step listeners (fully qualified class name that implements QAFTestStepListener) to be registered. |
WEBDRIVER_COMMAND_LISTENERS
key:
wd.command.listenersvalue: 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.listenersvalue: 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_LOG_LEVEL
report.log.levelpublic static final ApplicationProperties REPORT_SKIP_SUCCESS
report.log.skip.successpublic 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 capabilitypublic static final ApplicationProperties DRIVER_CAPABILITY_PREFIX
driver.capabilities #DRIVER_ADDITIONAL_CAPABILITIES} to provide multiple
additional capabilitiespublic 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 driverspublic 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 capabilitypublic static final ApplicationProperties CAPABILITY_NAME_DRIVER_CLASS
driverClass public static final ApplicationProperties REMOTE_SERVER
remote.serverpublic static final ApplicationProperties REMOTE_PORT
remote.portpublic static final ApplicationProperties SELENIUM_BASE_URL
env.baseurl public static final ApplicationProperties SELENIUM_CMD_LISTENERS
selenium.command.listeners SeleniumCommandListenerpublic 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.pathpublic static final ApplicationProperties QC_TC_FOLDER_PATH
qc.testcase.folder.pathpublic static final ApplicationProperties QC_RUN_NAME
qc.run.namepublic static final ApplicationProperties QC_TIMEZONE
qc.timezonepublic static final ApplicationProperties QC_RUN_NAME_GENERATOR
qc.runname.generator.implpublic static final ApplicationProperties QC_USER
qc.userpublic static final ApplicationProperties QC_DOMAIN
qc.domainpublic static final ApplicationProperties QC_PROJECT
qc.projectpublic static final ApplicationProperties QC_PWD
qc.pwdpublic static final ApplicationProperties QC_SERVICE_URL
qc.service.urlpublic static final ApplicationProperties LOAD_LOCALES
env.load.localespublic static final ApplicationProperties DEFAULT_LOCALE
env.default.localepublic static final ApplicationProperties LOCALE_CHAR_ENCODING
public static final ApplicationProperties ISFW_VERSION
isfw.versionpublic static final ApplicationProperties ISFW_REVISION
isfw.revisionpublic static final ApplicationProperties ISFW_BUILD_DATE
isfw.build.datepublic static final ApplicationProperties ISFW_BUILD_INFO
isfw.build.infopublic static final ApplicationProperties QAF_LISTENERS
qaf.listenersQAFTestStepListener,
QAFWebDriverCommandListener,
QAFWebElementCommandListener) to be registered.QAFListenerpublic static final ApplicationProperties TESTSTEP_LISTENERS
teststep.listenersQAFTestStepListenerpublic static final ApplicationProperties WEBDRIVER_COMMAND_LISTENERS
wd.command.listenersQAFWebDriverCommandListenerpublic static final ApplicationProperties WEBELEMENT_COMMAND_LISTENERS
we.command.listenersQAFWebElementCommandListenerpublic 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.analyzerIRetryAnalyzer. Provide this property to use your custom retry
analyzer.public static final ApplicationProperties BEAN_POPULATE_RANDOM
bean.populate.randomfillFromConfig 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.implRestClientFactory.public static final ApplicationProperties PASSWORD_DECRYPTOR_IMPL
password.decryptor.implPasswordDecryptor. This implementation will be used to
decrypt password. When configuration manager found any key starts
with ENCRYPTED_PASSWORD_KEY_PREFIXpublic static final ApplicationProperties ENCRYPTED_PASSWORD_KEY_PREFIX
encryptedpublic 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.metadatapublic static final ApplicationProperties ELEMENT_ATTACH_DEFAULT_LISTENER
Specify weather to attach default element listener or not.
key:element.default.listenerpublic 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.certpublic 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.keypublic 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.portpublic static final ApplicationProperties PROXY_HOSTS_KEY
Set one or more host url that needs to be proxied through given proxy server.
key:host.to.proxypublic static final ApplicationProperties METADATA_RULES
Set list of meta-data rule to be applied on meta-data during dryrun.
key:metadata.rulesMetaDataRulepublic static final ApplicationProperties METADATA_FORMTTOR_PREFIX
Set format as supported by MessageFormat that accepts one argument.
metadata.formatterpublic 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.