RoboDirectiveResponse

data class RoboDirectiveResponse(val actionType: String, val inputText: String, val resourceName: String)

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.

Constructors

Link copied to clipboard
fun RoboDirectiveResponse(actionType: String, inputText: String, resourceName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The type of action that Robo should perform on the specified element.

Link copied to clipboard

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.

Link copied to clipboard

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