RoboDirective class

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

RoboDirective()
RoboDirective.fromJson(Map _json)

Properties

actionType ↔ String
Required. The type of action that Robo should perform on the specified element. Possible string values are: [...]
read / write
inputText ↔ String
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.
read / write
resourceName ↔ String
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
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited