public final class ConfigProvider extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getAccessEngineType()
Gets the value for the 'accessEngineType' key defined in continuum.properties, which is used to determine which version of Access Engine is included with this installation of Continuum and should be used.
|
static String |
getAmpApiToken()
Gets the value for the 'ampApiToken' key defined in continuum.properties, which is the AMP API token of the user to use to authenticate any requests to AMP that require authentication, e.g.
|
static String |
getAmpInstanceUrl()
Gets the value for the 'ampInstanceUrl' key defined in continuum.properties, which is the URL to the desired AMP instance from which to pull best practice data from.
|
static String |
getAndroidAppPackage()
Gets the value for the 'androidAppPackage' key defined in continuum.properties, which is the Java package name of the app to be tested, e.g.
|
static String |
getAndroidVirtualDeviceName()
Gets the value for the 'androidVirtualDeviceName' key defined in continuum.properties, which is the name of the virtual device to be tested.
|
static String |
getConfigAsString(String key)
Gets the value for a given key defined in continuum.properties.
|
static Set<Integer> |
getDefaultStandardIds()
Gets the set of IDs implied from the value of the 'getDefaultStandardIds' key defined in continuum.properties, which is a comma-delimited string of IDs of the accessibility standards to test for by default (invoke
Continuum.getSupportedStandards() for a list of these). |
static Boolean |
getIncludePotentialAccessibilityConcerns()
Gets the value for the 'includePotentialAccessibilityConcerns' key defined in continuum.properties, which is used to determine whether or not accessibility concerns that require manual review are returned in any of Continuum's test results.
|
static String |
getiOSAutomationName()
Gets the value for the 'iOSAutomationName' key defined in continuum.properties, which is the test automation driver to use.
|
static String |
getiOSPlatformVersion()
Gets the value for the 'iOSPlatformVersion' key defined in continuum.properties, which is the version of the iOS platform to be tested.
|
static String |
getiOSWebBrowserName()
Gets the value for the 'iOSWebBrowserName' key defined in continuum.properties, which is the mobile web browser to use for testing.
|
static String |
getiOSXcodeOrgId()
Gets the value for the 'iOSXcodeOrgId' key defined in continuum.properties, which is your team ID, i.e.
|
static String |
getiOSXcodeSigningId()
Gets the value for the 'iOSXcodeSigningId' key defined in continuum.properties.
|
static String |
getMobileAppiumURL()
Gets the value for the 'mobileAppiumURL' key defined in continuum.properties, which is the URL to a running Appium server.
|
static String |
getMobileDeviceName()
Gets the value for the 'mobileDeviceName' key defined in continuum.properties, which is the name of the mobile device or emulator to test with.
|
static String |
getMobilePathToAppFile()
Gets the value for the 'mobilePathToAppFile' key defined in continuum.properties, which is the absolute path to a compiled app file to be tested.
|
static String |
getMobilePhysicalDeviceId()
Gets the value for the 'mobilePhysicalDeviceId' key defined in continuum.properties, which is the ID of the physical device to tested with.
|
static String |
getMobilePlatformName()
Gets the value for the 'mobilePlatformName' key defined in continuum.properties, which is the name of the mobile platform to test with.
|
static Boolean |
getMobileScanWebViews()
Gets the value for the 'mobileScanWebViews' key defined in continuum.properties, which is used to determine whether or not Continuum should scan for accessibility concerns in the content of any visible web views.
|
static String |
getProxyHost()
Gets the value for the 'proxyHost' key defined in continuum.properties, which is the IP address or hostname of the desired proxy to route all network traffic from Continuum through.
|
static String |
getProxyPassword()
Gets the value for the 'proxyPassword' key defined in continuum.properties, which is the password for the desired proxy to route all network traffic from Continuum through.
|
static Integer |
getProxyPort()
Gets the value for the 'proxyPort' key defined in continuum.properties, which is the port of the desired proxy to route all network traffic from Continuum through.
|
static String |
getProxyUsername()
Gets the value for the 'proxyUsername' key defined in continuum.properties, which is the username for the desired proxy to route all network traffic from Continuum through.
|
static String |
getSauceLabsAccessKey()
Gets the value for the 'saucelabsAccessKey' key defined in continuum.properties, which is the Sauce Labs access key that should be used to connect to Sauce Labs.
|
static String |
getSauceLabsChromeVersion()
Gets the value for the 'saucelabsChromeVersion' key defined in continuum.properties, which is the version of Google Chrome that should be used when testing via Sauce Labs.
|
static String |
getSauceLabsPlatform()
Gets the value for the 'saucelabsPlatform' key defined in continuum.properties, which is the Sauce Labs-supported operating system that should be used when testing via Sauce Labs.
|
static String |
getSauceLabsUsername()
Gets the value for the 'saucelabsUsername' key defined in continuum.properties, which is the Sauce Labs username that should be used to connect to Sauce Labs.
|
public static String getAccessEngineType()
public static String getAmpApiToken()
public static String getAmpInstanceUrl()
public static String getAndroidAppPackage()
public static String getAndroidVirtualDeviceName()
public static String getConfigAsString(String key)
key
- configuration key for which to fetch its value in continuum.propertiespublic static Set<Integer> getDefaultStandardIds()
Continuum.getSupportedStandards()
for a list of these).
Set the value for the 'getDefaultStandardIds' key in continuum.properties to an empty string to not filter by any accessibility standards by default.public static Boolean getIncludePotentialAccessibilityConcerns()
AccessibilityConcern.getNeedsReview()
return true.
This setting can be toggled programmatically using Continuum.setIncludePotentialAccessibilityConcerns(boolean)
, overriding the value specified in continuum.properties.public static String getiOSAutomationName()
public static String getiOSPlatformVersion()
public static String getiOSWebBrowserName()
public static String getiOSXcodeOrgId()
public static String getiOSXcodeSigningId()
public static String getMobileAppiumURL()
public static String getMobileDeviceName()
public static String getMobilePathToAppFile()
public static String getMobilePhysicalDeviceId()
public static String getMobilePlatformName()
public static Boolean getMobileScanWebViews()
AccessibilityConcern.getTestContext()
return Continuum.TestContext.WEB
.
This setting can be toggled programmatically using Continuum.setScanWebViews(boolean)
, overriding the value specified in continuum.properties.public static String getProxyHost()
public static String getProxyPassword()
public static Integer getProxyPort()
public static String getProxyUsername()
public static String getSauceLabsAccessKey()
public static String getSauceLabsChromeVersion()
public static String getSauceLabsPlatform()
public static String getSauceLabsUsername()
Copyright © 2019. All rights reserved.