AndroidRoboTest class

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

AndroidRoboTest({Input<FileReference>? appApk, Input<AppBundle>? appBundle, Input<String>? appInitialActivity, Input<String>? appPackageId, Input<int>? maxDepth, Input<int>? maxSteps, Input<List<RoboDirective>>? roboDirectives, Input<AndroidRoboTestRoboMode>? roboMode, Input<FileReference>? roboScript, Input<List<RoboStartingIntent>>? startingIntents})
Creates a new AndroidRoboTest. appApk The APK for the application under test. appBundle A multi-apk app bundle for the application under test. appInitialActivity The initial activity that should be used to start the app. appPackageId The java package for the application under test. The default value is determined by examining the application's manifest. maxDepth 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. maxSteps The max number of steps Robo can execute. Default is no limit. roboDirectives 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. roboMode The mode in which Robo should run. Most clients should allow the server to populate this field automatically. roboScript A JSON file with a sequence of actions Robo should perform as a prologue for the crawl. startingIntents 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).
const
AndroidRoboTest.fromMap(Map<String, dynamic> map)
factory

Properties

appApk → Input<FileReference>?
The APK for the application under test.
final
appBundle → Input<AppBundle>?
A multi-apk app bundle for the application under test.
final
appInitialActivity → Input<String>?
The initial activity that should be used to start the app.
final
appPackageId → Input<String>?
The java package for the application under test. The default value is determined by examining the application's manifest.
final
hashCode → int
The hash code for this object.
no setterinherited
maxDepth → Input<int>?
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.
final
maxSteps → Input<int>?
The max number of steps Robo can execute. Default is no limit.
final
roboDirectives → Input<List<RoboDirective>>?
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.
final
roboMode → Input<AndroidRoboTestRoboMode>?
The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
final
roboScript → Input<FileReference>?
A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startingIntents → Input<List<RoboStartingIntent>>?
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).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited