GoogleApi.Testing.V1.Model.RoboDirective (google_api_testing v0.34.0)

View Source

Directs Robo to interact with a specific UI element if it is encountered during the crawl. Currently, Robo can perform text entry or element click.

Attributes

  • actionType (type: String.t, default: nil) - Required. The type of action that Robo should perform on the specified element.
  • inputText (type: String.t, default: nil) - The text that Robo is directed to set. If left empty, the directive will be treated as a CLICK on the element matching the resource_name.
  • resourceName (type: String.t, default: nil) - Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Testing.V1.Model.RoboDirective{
  actionType: String.t() | nil,
  inputText: String.t() | nil,
  resourceName: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.