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

ElementExists

Gibt eine boolesche Variable zurück, die angibt, ob ein bestimmtes UI-Element vorhanden ist.

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

Überladungen

ÜberladenBeschreibung
ElementExists(IElementDescriptor, MobileOptions.ElementExistsOptions)Gibt eine boolesche Variable zurück, die angibt, ob ein Object Repository-Element (IElementDescriptor) vorhanden ist.
ElementExists(ObjectRepositoryTarget, MobileOptions.ElementExistsOptions)Gibt eine boolesche Variable zurück, die angibt, ob ein Object-Repository-Ziel (ObjectRepositoryTarget) vorhanden ist.
ElementExists(SelectorTarget, MobileOptions.ElementExistsOptions)Gibt eine boolesche Variable zurück, die angibt, ob ein nativer Selektor (SelectorTarget) vorhanden ist.

ElementExists(IElementDescriptor, MobileOptions.ElementExistsOptions)

Gibt eine boolesche Variable zurück, die angibt, ob ein Object Repository-Element (IElementDescriptor) vorhanden ist.
ElementExists(
	    IElementDescriptor element,
	    MobileOptions. ElementExistsOptions options = null
)ElementExists(
	    IElementDescriptor element,
	    MobileOptions. ElementExistsOptions options = null
)
element
Ein UI-Element aus dem Object Repository, auf das Sie mit der Klasse ObjectRepository.Descriptors zugreifen.

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

options MobileOptions.ElementExistsOptions
Gibt den MobileOptions.ElementExistsOptions für die ElementExistsOptions -Aktion an. Der Standardwert ist null.

ElementExists(ObjectRepositoryTarget, MobileOptions.ElementExistsOptions)

Gibt eine boolesche Variable zurück, die angibt, ob ein Object-Repository-Ziel (ObjectRepositoryTarget) vorhanden ist.
ElementExists(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. ElementExistsOptions options = null
)ElementExists(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. ElementExistsOptions options = null
)
objectRepositoryTarget ObjectRepositoryTarget
Ein Objekt vom Typ ObjectRepositoryTarget.
options MobileOptions.ElementExistsOptions
Gibt den MobileOptions.ElementExistsOptions für die ElementExistsOptions -Aktion an. Der Standardwert ist null.

ElementExists(SelectorTarget, MobileOptions.ElementExistsOptions)

Gibt eine boolesche Variable zurück, die angibt, ob ein nativer Selektor (SelectorTarget) vorhanden ist.
ElementExists(
	    SelectorTarget targetSelector,
	    MobileOptions. ElementExistsOptions options = null
)ElementExists(
	    SelectorTarget targetSelector,
	    MobileOptions. ElementExistsOptions options = null
)
targetSelector SelectorTarget
Ein Objekt vom Typ SelectorTarget . Kann mit der FromSelector(String) -Methode erstellt werden.
options MobileOptions.ElementExistsOptions
Gibt den MobileOptions.ElementExistsOptions für die ElementExistsOptions -Aktion an. Der Standardwert ist null.

Rückgabewert

True wenn Element vorhanden ist, und False , wenn das Element nicht vorhanden ist.

War diese Seite hilfreich?

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