Activities
latest
false
Banner background image
UI Automation Activities
Last updated Apr 26, 2024

MobileOptions.SetTextOptions Class

Use this class to further configure the SetText API.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

public class SetTextOptions : MobileOptions.SetTextWithTapOptions, 
	IGenericTextInputOptionspublic class SetTextOptions : MobileOptions.SetTextWithTapOptions, 
	IGenericTextInputOptions
The MobileOptions.SetTextOptions type exposes the following members.

Constructors

public SetTextOptions()public SetTextOptions()
MobileOptions.SetTextOptions
Initializes a new instance of the MobileOptions.SetTextOptions class.

Properties

ContinueOnError
Specifies if the automation should continue even when the method throws an error. This parameter only supports Boolean values (true, false). The default value is alse. As a result, if the parameter is blank and an error is thrown, the execution of the project stops. If the value is set to true, the execution of the project continues regardless of any error.
DelayAfter
Delay time (in seconds) after executing the method. The default value is 0.3 seconds.
DelayBefore
Delay time (in seconds) before the method begins performing any operations. The default value is 0.2 seconds.
Timeout
Specifies the amount of time (in seconds) to wait for a specified element to be found before an error is thrown. The default value is 30 seconds.
ClearText ClearText
Clears any text in the target, before inputting the text that you want to set. This is by default set to True. This parameter applies for all target types.
TapBeforeType TapBeforeType
?????
SendNewLine SendNewLine
Add a new line to the text. Similar to pressing the OK button on a mobile device keyboard.

ClearText

Syntax

Property Value: Boolean

public bool ClearText { get; set; }public bool ClearText { get; set; }

TapBeforeType

Syntax

Property Value: Nullable<TapTypeEnum>
public TapTypeEnum? TapBeforeType { get; set; }public TapTypeEnum? TapBeforeType { get; set; }

SendNewLine

Syntax

Property Value: Boolean

public bool SendNewLine { get; set; }public bool SendNewLine { get; set; }
  • Definition
  • Syntax
  • Constructors
  • Properties
  • ClearText
  • Syntax
  • TapBeforeType
  • Syntax
  • SendNewLine
  • Syntax

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.