Class RoboDirective
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.
Implements
Inherited Members
Namespace: Google.Apis.Testing.v1.Data
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class RoboDirective : IDirectResponseSchema
Properties
ActionType
Required. The type of action that Robo should perform on the specified element.
Declaration
[JsonProperty("actionType")]
public virtual string ActionType { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InputText
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.
Declaration
[JsonProperty("inputText")]
public virtual string InputText { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceName
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
Declaration
[JsonProperty("resourceName")]
public virtual string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string |