Aktivitäten
Neuestes
False
Bannerhintergrundbild
UIAutomation-Aktivitäten
Letzte Aktualisierung 26. Apr. 2024

Attribut erhalten (Get Attribute)

Ruft ein Attribut eines angegebenen UI-Elements ab.

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

Überladungen

ÜberladenBeschreibung
GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)Ruft ein Attribut eines angegebenen UI-Elements ab, das als IEelementDescriptor identifiziert wurde.
GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)Ruft ein Attribut eines angegebenen UI-Elements ab, das als ObjectRepositoryTarget identifiziert wurde.
GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)Ruft ein Attribut eines angegebenen UI-Elements ab, das als SelectorTarget identifiziert wurde.

GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)

Ruft ein Attribut eines angegebenen UI-Elements ab, das als IEelementDescriptor identifiziert wurde.
GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
element IElementDescriptor
Ein UI-Element aus dem Object Repository, auf das Sie mit der Klasse ObjectRepository.Descriptors zugreifen.

Unter Verwenden von Objekten in codierten Automatisierungen erfahren Sie, wie Sie Object Repository-Elemente in codierten Automatisierungen verwenden.

attributeName String
Der Name des Attributs, das Sie aus dem angegebenen UI-Element abrufen möchten.
options MobileOptions.GetAttributeOptions (Optional)
Gibt den MobileOptions.GetAttributeOptions für die GetAttribute -Aktion an. Der Standardwert ist null.

GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)

Ruft ein Attribut eines angegebenen UI-Elements ab, das als ObjectRepositoryTarget identifiziert wurde.
GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
objectRepositoryTarget ObjectRepositoryTarget
Ein Objekt vom Typ ObjectRepositoryTarget. Kann mit den Methoden FromObjectRepository(String, String, String, String) oder FromObjectRepository(String[] , String, String, String) erstellt werden.
attributeName String
Der Name des Attributs, das Sie aus dem angegebenen UI-Element abrufen möchten.
options MobileOptions.GetAttributeOptions (Optional)
Gibt den MobileOptions.GetAttributeOptions für die GetAttribute -Aktion an. Der Standardwert ist null.

GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)

Ruft ein Attribut eines angegebenen UI-Elements ab, das als SelectorTarget identifiziert wurde.
GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
selectorTarget SelectorTarget
Ein Objekt vom Typ SelectorTarget . Kann mit der FromSelector(String) -Methode erstellt werden.
attributeName String
Der Name des Attributs, das Sie aus dem angegebenen UI-Element abrufen möchten.
options MobileOptions.GetAttributeOptions (Optional)
Gibt den MobileOptions.GetAttributeOptions für die GetAttribute -Aktion an. Der Standardwert ist null.

Rückgabewert

Der Wert des abgerufenen Attributs.

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
UiPath Logo weiß
Vertrauen und Sicherheit
© 2005-2024 UiPath. All rights reserved.