RoboDirectiveArgs

data class RoboDirectiveArgs(val actionType: Output<RoboDirectiveActionType>, val inputText: Output<String>? = null, val resourceName: Output<String>) : ConvertibleToJava<RoboDirectiveArgs>

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
constructor(actionType: Output<RoboDirectiveActionType>, inputText: Output<String>? = null, resourceName: Output<String>)

Properties

Link copied to clipboard

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

Link copied to clipboard
val inputText: Output<String>? = null

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
val resourceName: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): RoboDirectiveArgs