AndroidRoboTestArgs

data class AndroidRoboTestArgs(val appApk: Output<FileReferenceArgs>? = null, val appBundle: Output<AppBundleArgs>? = null, val appInitialActivity: Output<String>? = null, val appPackageId: Output<String>? = null, val maxDepth: Output<Int>? = null, val maxSteps: Output<Int>? = null, val roboDirectives: Output<List<RoboDirectiveArgs>>? = null, val roboMode: Output<AndroidRoboTestRoboMode>? = null, val roboScript: Output<FileReferenceArgs>? = null, val startingIntents: Output<List<RoboStartingIntentArgs>>? = null) : ConvertibleToJava<AndroidRoboTestArgs>

A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.

Constructors

Link copied to clipboard
fun AndroidRoboTestArgs(appApk: Output<FileReferenceArgs>? = null, appBundle: Output<AppBundleArgs>? = null, appInitialActivity: Output<String>? = null, appPackageId: Output<String>? = null, maxDepth: Output<Int>? = null, maxSteps: Output<Int>? = null, roboDirectives: Output<List<RoboDirectiveArgs>>? = null, roboMode: Output<AndroidRoboTestRoboMode>? = null, roboScript: Output<FileReferenceArgs>? = null, startingIntents: Output<List<RoboStartingIntentArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AndroidRoboTestArgs

Properties

Link copied to clipboard
val appApk: Output<FileReferenceArgs>? = null

The APK for the application under test.

Link copied to clipboard
val appBundle: Output<AppBundleArgs>? = null

A multi-apk app bundle for the application under test.

Link copied to clipboard
val appInitialActivity: Output<String>? = null

The initial activity that should be used to start the app.

Link copied to clipboard
val appPackageId: Output<String>? = null

The java package for the application under test. The default value is determined by examining the application's manifest.

Link copied to clipboard
val maxDepth: Output<Int>? = null

The max depth of the traversal stack Robo can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity. Default is 50.

Link copied to clipboard
val maxSteps: Output<Int>? = null

The max number of steps Robo can execute. Default is no limit.

Link copied to clipboard
val roboDirectives: Output<List<RoboDirectiveArgs>>? = null

A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided.

Link copied to clipboard
val roboMode: Output<AndroidRoboTestRoboMode>? = null

The mode in which Robo should run. Most clients should allow the server to populate this field automatically.

Link copied to clipboard
val roboScript: Output<FileReferenceArgs>? = null

A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.

Link copied to clipboard

The intents used to launch the app for the crawl. If none are provided, then the main launcher activity is launched. If some are provided, then only those provided are launched (the main launcher activity must be provided explicitly).