Package com.levelaccess.continuum
Class Configuration.Mobile
java.lang.Object
com.levelaccess.continuum.Configuration.Mobile
- Enclosing class:
- Configuration
This class encapsulates all mobile-specific configuration in Continuum represented by the 'mobile' object defined in the user-editable src/main/resources/continuum.json file.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class encapsulates all Android-specific configuration in Continuum represented by the 'android' object of the 'mobile' object defined in the user-editable src/main/resources/continuum.json file.static classThis class encapsulates all iOS-specific configuration in Continuum represented by the 'ios' object of the 'mobile' object defined in the user-editable src/main/resources/continuum.json file.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the Android-specific configuration in Continuum represented by the 'android' object of the 'mobile' object defined in continuum.json.Gets the value for the 'appiumURL' attribute of the 'mobile' object defined in continuum.json.Gets the value for the 'automationName' attribute of the 'mobile' object defined in continuum.json.Gets the chrome capabilities in Continuum represented by the 'chromeCapabilities' object of the 'mobile' object defined in continuum.json.Gets the value for the 'deviceName' attribute of the 'mobile' object defined in continuum.json.Gets the iOS-specific configuration in Continuum represented by the 'ios' object of the 'mobile' object defined in continuum.json.Gets the value for the 'pathToAppFile' attribute of the 'mobile' object defined in continuum.json.Gets the value for the 'physicalDeviceId' attribute of the 'mobile' object defined in continuum.json.Gets the value for the 'platformName' attribute of the 'mobile' object defined in continuum.json.Gets the value for the 'scanWebViews' attribute of the 'mobile' object defined in continuum.json.
- 
Constructor Details- 
Mobilepublic Mobile()
 
- 
- 
Method Details- 
getAutomationNameGets the value for the 'automationName' attribute of the 'mobile' object defined in continuum.json. The test automation driver to use; the same as Appium's 'automationName' desired capability.- Returns:
- the value for the 'automationName' attribute of the 'mobile' object defined in continuum.json
 
- 
getDeviceNameGets the value for the 'deviceName' attribute of the 'mobile' object defined in continuum.json. The name of the mobile device or emulator to test with; the same as Appium's 'deviceName' desired capability.- Returns:
- the value for the 'deviceName' attribute of the 'mobile' object defined in continuum.json
 
- 
getPlatformNameGets the value for the 'platformName' attribute of the 'mobile' object defined in continuum.json. The name of the mobile platform to test with; the same as Appium's 'platformName' desired capability.- Returns:
- the value for the 'platformName' attribute of the 'mobile' object defined in continuum.json
 
- 
getAppiumURLGets the value for the 'appiumURL' attribute of the 'mobile' object defined in continuum.json. The URL to a running Appium server; the same as the URL you use to initialize an Appium client.- Returns:
- the value for the 'appiumURL' attribute of the 'mobile' object defined in continuum.json
 
- 
getPathToAppFileGets the value for the 'pathToAppFile' attribute of the 'mobile' object defined in continuum.json. The absolute path to a compiled app file to be tested; the same as Appium's 'app' desired capability. For example, for Android apps, this should be the absolute path to an APK, whereas for iOS apps, this should be the absolute path to an APP or IPA file.- Returns:
- the value for the 'pathToAppFile' attribute of the 'mobile' object defined in continuum.json
 
- 
getPhysicalDeviceIdGets the value for the 'physicalDeviceId' attribute of the 'mobile' object defined in continuum.json. The ID of the physical device to tested with; the same as Appium's 'udid' desired capability. Only meant to be used when testing using a physical device.- Returns:
- the value for the 'physicalDeviceId' attribute of the 'mobile' object defined in continuum.json
 
- 
getScanWebViewsGets the value for the 'scanWebViews' attribute of the 'mobile' object defined in continuum.json. Used to determine whether or not Continuum should scan for accessibility concerns in the content of any visible web views. If enabled, any accessibility concerns that come from web views will haveAccessibilityConcern.getTestContext()returnContinuum.TestContext.WEB. This setting can be toggled programmatically usingContinuum.setScanWebViews(boolean), overriding this value specified in continuum.json.- Returns:
- the value for the 'scanWebViews' attribute of the 'mobile' object defined in continuum.json
 
- 
getAndroidConfigurationGets the Android-specific configuration in Continuum represented by the 'android' object of the 'mobile' object defined in continuum.json.- Returns:
- the Android-specific configuration in Continuum represented by the 'android' object of the 'mobile' object defined in continuum.json
 
- 
getIOSConfigurationGets the iOS-specific configuration in Continuum represented by the 'ios' object of the 'mobile' object defined in continuum.json.- Returns:
- the iOS-specific configuration in Continuum represented by the 'ios' object of the 'mobile' object defined in continuum.json
 
- 
getChromeCapabilitiesGets the chrome capabilities in Continuum represented by the 'chromeCapabilities' object of the 'mobile' object defined in continuum.json.- Returns:
- the chrome capabilities in Continuum represented by the 'chromeCapabilities' object of the 'mobile' object defined in continuum.json
 
 
-