UiPath Documentation
activities
latest
false
UIAutomation-Aktivitäten
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

SetText

SetText in der codierten Automatisierungs-API von Mobile Automation: Gibt den angegebenen Text in ein Ziel-UI-Element ein, das von Mobile Automation erkannt wird.

Gibt den angegebenen Text in ein Ziel-UI-Element ein, das von Mobile Automation erkannt wird.

Definition​

Namespace: UiPath.MobileAutomation.API.Models

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

Überladungen​

SetText(IElementDescriptor, string, MobileOptions.SetTextOptions)Gibt den angegebenen Text in ein Ziel-UI-Element ein, das als IElementDescriptor identifiziert wird.
SetText(ObjectRepositoryTarget, string, MobileOptions.SetTextOptions)Gibt den angegebenen Text in ein Ziel-UI-Element ein, das als ObjectRepositoryTarget identifiziert wird.
SetText(SelectorTarget, string, MobileOptions.SetTextOptionsGibt den angegebenen Text in ein Ziel-UI-Element ein, das als SelectorTarget identifiziert wird.

SetText(IElementDescriptor, string, MobileOptions.SetTextOptions)​

Gibt den angegebenen Text in ein Ziel-UI-Element ein, das als IElementDescriptor identifiziert wird.

SetText(
	    IElementDescriptor element,
	    string text,
	    MobileOptions. SetTextOptions options = null
)
SetText(
	    IElementDescriptor element,
	    string text,
	    MobileOptions. SetTextOptions options = null
)

element: Ein UI-Element aus dem Object Repository, auf das Sie mit der Klasse ObjectRepository.Descriptors zugreifen.

Visit [Using objects in coded automations with
Mobile Automation](https://docs.uipath.com/studio/standalone/2024.4/user-guide/creating-an-object-repository#using-objects-in-coded-automations-with-mobile-automation) to learn how to use Object Repository elements with mobile automation.
Visit [Using objects in coded automations with
Mobile Automation](https://docs.uipath.com/de/studio/standalone/2024.4/user-guide/creating-an-object-repository#using-objects-in-coded-automations-with-mobile-automation) to learn how to use Object Repository elements with mobile automation.

text Zeichenfolge: Der Text, den Sie in das angegebene UI-Element eingeben möchten, gespeichert in einer Zeichenfolge.

options MobileOptions.SetTextOptions (Optional): Gibt MobileOptions.SetTextOptions für die „Set Text“-Aktion an. Der Standardwert ist null.

SetText(ObjectRepositoryTarget, string, MobileOptions.SetTextOptions)​

Gibt den angegebenen Text in ein Ziel-UI-Element ein, das als ObjectRepositoryTarget identifiziert wird.

SetText(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string text,
	    MobileOptions. SetTextOptions options = null
)
SetText(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string text,
	    MobileOptions. SetTextOptions options = null
)

objectRepositoryTarget ObjectRepositoryTarget: Ein Objekt vom Typ ObjectRepositoryTarget.

text Zeichenfolge: Der Text, den Sie in das angegebene UI-Element eingeben möchten, gespeichert in einer Zeichenfolge.

options MobileOptions.SetTextOptions (Optional): Gibt MobileOptions.SetTextOptions für die „Set Text“-Aktion an. Der Standardwert ist null.

SetText(SelectorTarget, string, MobileOptions.SetTextOptions​

Gibt den angegebenen Text in ein Ziel-UI-Element ein, das als SelectorTarget identifiziert wird.

SetText(
	    SelectorTarget targetSelector,
	    string text,
	    MobileOptions. SetTextOptions options = null
)
SetText(
	    SelectorTarget targetSelector,
	    string text,
	    MobileOptions. SetTextOptions options = null
)

targetSelector Selektorziel: Ein Objekt des Typs SelectorTarget . Kann mit der FromSelector(String) -Methode erstellt werden.

text Zeichenfolge: Der Text, den Sie in das angegebene UI-Element eingeben möchten, gespeichert in einer Zeichenfolge.

options MobileOptions.SetTextOptions (Optional): Gibt MobileOptions.SetTextOptions für die „Set Text“-Aktion an. Der Standardwert ist null.

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben