activities
latest
false
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.
UiPath logo, featuring letters U and I in white

UIAutomation-Aktivitäten

Letzte Aktualisierung 6. März 2026

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 mithilfe der ObjectRepository.Descriptors -Klasse 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.

options MobileOptions.ElementExistsOptions : Gibt die 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 die 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 die MobileOptions.ElementExistsOptions für die ElementExistsOptions -Aktion an. Der Standardwert ist null.

Rückgabewert

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

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