Activities
latest
false
Banner background image
UI Automation Activities
Last updated 26 de abr de 2024

SetText

Types the specified text into a target UI element, recognized by Mobile Automation.

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

Overloads

  
SetText(IElementDescriptor, string, MobileOptions.SetTextOptions)Types the specified text into a target UI element, identified as an IElementDescriptor.
SetText(ObjectRepositoryTarget, string, MobileOptions.SetTextOptions)Types the specified text into a target UI element, identified as an ObjectRepositoryTarget.
SetText(SelectorTarget, string, MobileOptions.SetTextOptionsTypes the specified text into a target UI element, identified as a SelectorTarget.

SetText(IElementDescriptor, string, MobileOptions.SetTextOptions)

Types the specified text into a target UI element, identified as an IElementDescriptor.
SetText(
	    IElementDescriptor element,
	    string text,
	    MobileOptions. SetTextOptions options = null
)SetText(
	    IElementDescriptor element,
	    string text,
	    MobileOptions. SetTextOptions options = null
)
element
A UI element from the Object Repository that you access using the ObjectRepository.Descriptors class.

Visit Using objects in coded automations with Mobile Automation to learn how to use Object Repository elements with mobile automation.

text String
The text you want to type into the specified UI element, stored in a string.
options MobileOptions.SetTextOptions (Optional)
Specifies the MobileOptions.SetTextOptions for the set text action. Default value is null.

SetText(ObjectRepositoryTarget, string, MobileOptions.SetTextOptions)

Types the specified text into a target UI element, identified as an ObjectRepositoryTarget.
SetText(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string text,
	    MobileOptions. SetTextOptions options = null
)SetText(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string text,
	    MobileOptions. SetTextOptions options = null
)
objectRepositoryTarget ObjectRepositoryTarget
An object of type ObjectRepositoryTarget.
text String
The text you want to type into the specified UI element, stored in a string.
options MobileOptions.SetTextOptions (Optional)
Specifies the MobileOptions.SetTextOptions for the set text action. Default value is null.

SetText(SelectorTarget, string, MobileOptions.SetTextOptions

Types the specified text into a target UI element, identified as a SelectorTarget.
SetText(
	    SelectorTarget targetSelector,
	    string text,
	    MobileOptions. SetTextOptions options = null
)SetText(
	    SelectorTarget targetSelector,
	    string text,
	    MobileOptions. SetTextOptions options = null
)
targetSelector SelectorTarget
An object of SelectorTarget type. Can be constructed using FromSelector(String) method.
text String
The text you want to type into the specified UI element, stored in a string.
options MobileOptions.SetTextOptions (Optional)
Specifies the MobileOptions.SetTextOptions for the set text action. Default value is null.

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.