AndroidRoboTestResponse constructor

const AndroidRoboTestResponse({
  1. required Input<FileReferenceResponse> appApk,
  2. required Input<AppBundleResponse> appBundle,
  3. required Input<String> appInitialActivity,
  4. required Input<String> appPackageId,
  5. required Input<int> maxDepth,
  6. required Input<int> maxSteps,
  7. required Input<List<RoboDirectiveResponse>> roboDirectives,
  8. required Input<String> roboMode,
  9. required Input<FileReferenceResponse> roboScript,
  10. required Input<List<RoboStartingIntentResponse>> startingIntents,
})

Creates a new AndroidRoboTestResponse. 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).

Implementation

const AndroidRoboTestResponse({
  required this.appApk,
  required this.appBundle,
  required this.appInitialActivity,
  required this.appPackageId,
  required this.maxDepth,
  required this.maxSteps,
  required this.roboDirectives,
  required this.roboMode,
  required this.roboScript,
  required this.startingIntents,
});