Package com.levelaccess.continuum
Class Configuration.Mobile.Android
java.lang.Object
com.levelaccess.continuum.Configuration.Mobile.Android
- Enclosing class:
- Configuration.Mobile
This 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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value for the 'appActivity' attribute of the 'android' object of the 'mobile' object defined in continuum.json.Gets the value for the 'appPackage' attribute of the 'android' object of the 'mobile' object defined in continuum.json.Gets the value for the 'optionalIntentArguments' attribute of the 'android' object of the 'mobile' object defined in continuum.json.Gets the value for the 'virtualDeviceName' attribute of the 'android' object of the 'mobile' object defined in continuum.json.
-
Constructor Details
-
Android
public Android()
-
-
Method Details
-
getAppPackage
Gets the value for the 'appPackage' attribute of the 'android' object of the 'mobile' object defined in continuum.json. The Java package name of the app to be tested, e.g. "com.example.app"; the same as Appium's 'appPackage' desired capability.- Returns:
- the value for the 'appPackage' attribute of the 'android' object of the 'mobile' object defined in continuum.json
-
getAppActivity
Gets the value for the 'appActivity' attribute of the 'android' object of the 'mobile' object defined in continuum.json. The activity name for the Android activity you want to launch from your package; the same as Appium's 'appActivity' desired capability. Note that the activity name often needs to be preceded by a ".", e.g. ".MainActivity" instead of "MainActivity".- Returns:
- the value for the 'appActivity' attribute of the 'android' object of the 'mobile' object defined in continuum.json
-
getOptionalIntentArguments
Gets the value for the 'optionalIntentArguments' attribute of the 'android' object of the 'mobile' object defined in continuum.json. Defines any additional intent arguments that will be used to start activity; the same as Appium's 'optionalIntentArguments' desired capability.- Returns:
- the value for the 'optionalIntentArguments' attribute of the 'android' object of the 'mobile' object defined in continuum.json
-
getVirtualDeviceName
Gets the value for the 'virtualDeviceName' attribute of the 'android' object of the 'mobile' object defined in continuum.json. The name of the virtual device to be used to test; the same as Appium's 'avd' desired capability.- Returns:
- the value for the 'virtualDeviceName' attribute of the 'android' object of the 'mobile' object defined in continuum.json
-