Abonnieren

UiPath-Aktivitäten

Die Anleitung zu UiPath-Aktivitäten (The UiPath Activities Guide)

Ankerbasis (Anchor Base)

UiPath.Core.Activities.AnchorBase

Ein Container, der mithilfe anderer UI-Elemente als Anker nach einem UI-Element sucht. Empfohlen, wenn kein zuverlässiger Selektor verfügbar ist.

📘

Hinweis:

For reliability reasons, it is recommended to avoid the usage of the idx attribute in selectors. In such cases, consider adding information about ancestor elements, using relative elements or the Anchor Base activity.

Eigenschaften

Eingabe

  • AnkerPosition (AnchorPosition) - Gibt an, an welcher Kante des Containers das UI-Element verankert wird. Folgende Optionen sind verfügbar:
    • Auto - If selected, the Bottom case is not considered. Searches for the UI element to the left, right or bottom of the container. The closest one is selected. If multiple elements are found at equal distance from the anchor, the target is selected in this order: Right, Left, Bottom.
    • Left - Searches for the UI element to the right of the container.
    • Top - Searches for the UI element at the bottom of the container.
    • Right - Searches for the UI element to the left of the container.
    • Bottom - Searches for the UI element at the top of the container.
    • OnTop - Searches for an UI element that has a label on it.

Common