class Google::Apis::TestingV1::AndroidRoboTest

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

Attributes

app_apk[RW]

A reference to a file, used for user inputs. Corresponds to the JSON property `appApk` @return [Google::Apis::TestingV1::FileReference]

app_bundle[RW]

An Android App Bundle file format, containing a BundleConfig.pb file, a base module directory, zero or more dynamic feature module directories. See https:// developer.android.com/guide/app-bundle/build for guidance on building App Bundles. Corresponds to the JSON property `appBundle` @return [Google::Apis::TestingV1::AppBundle]

app_initial_activity[RW]

The initial activity that should be used to start the app. Corresponds to the JSON property `appInitialActivity` @return [String]

app_package_id[RW]

The java package for the application under test. The default value is determined by examining the application's manifest. Corresponds to the JSON property `appPackageId` @return [String]

max_depth[RW]

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. Corresponds to the JSON property `maxDepth` @return [Fixnum]

max_steps[RW]

The max number of steps Robo can execute. Default is no limit. Corresponds to the JSON property `maxSteps` @return [Fixnum]

robo_directives[RW]

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. Corresponds to the JSON property `roboDirectives` @return [Array<Google::Apis::TestingV1::RoboDirective>]

robo_mode[RW]

The mode in which Robo should run. Most clients should allow the server to populate this field automatically. Corresponds to the JSON property `roboMode` @return [String]

robo_script[RW]

A reference to a file, used for user inputs. Corresponds to the JSON property `roboScript` @return [Google::Apis::TestingV1::FileReference]

starting_intents[RW]

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). Corresponds to the JSON property `startingIntents` @return [Array<Google::Apis::TestingV1::RoboStartingIntent>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 449
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/testing_v1/classes.rb, line 454
def update!(**args)
  @app_apk = args[:app_apk] if args.key?(:app_apk)
  @app_bundle = args[:app_bundle] if args.key?(:app_bundle)
  @app_initial_activity = args[:app_initial_activity] if args.key?(:app_initial_activity)
  @app_package_id = args[:app_package_id] if args.key?(:app_package_id)
  @max_depth = args[:max_depth] if args.key?(:max_depth)
  @max_steps = args[:max_steps] if args.key?(:max_steps)
  @robo_directives = args[:robo_directives] if args.key?(:robo_directives)
  @robo_mode = args[:robo_mode] if args.key?(:robo_mode)
  @robo_script = args[:robo_script] if args.key?(:robo_script)
  @starting_intents = args[:starting_intents] if args.key?(:starting_intents)
end