- Überblick
- UI-Automatisierung (UI Automation)
- Über das UIAutomation-Aktivitätspaket
- Mit UI-Automatisierung automatisierte Anwendungen und Technologien
- Projektkompatibilität
- UI-ANA-016 – URL zum Öffnen eines Browsers abrufen
- UI-ANA-017 – ContinueOnError True
- UI-ANA-018 – OCR-/Bildaktivitäten auflisten
- UI-DBP-006 – Containernutzung
- UI-DBP-013 – Falscher Gebrauch von Excel-Automatisierung
- UI-DBP-030 – Verwendung unzulässiger Variablen in Selektoren
- UI-DBP-031 – Aktivitätsverifizierung
- UI-PRR-001 – Klick simulieren
- UI-PRR-002 – Typ simulieren
- UI-PRR-003 – Offener Anwendungsmissbrauch
- UI-PRR-004 – Hartcodierte Verzögerungen
- UI-REL-001 – Große IDX in Selektoren
- UI-SEC-004 – Selektor-E-Mail-Daten
- UI-SEC-010 – App-/URL-Einschränkungen
- UI-USG-011 – Nicht zulässige Attribute
- UX-SEC-010 – App-/URL-Einschränkungen
- UX-DBP-029 – Unsichere Kennwortnutzung
- UI-PST-001 – Prüfungsprotokollebene in Projekteinstellungen
- UiPath-Browsermigrationstool
- Clippingbereich
- Computer Vision Recorder
- Aktivitätenindex
- Aktivieren (Activate)
- Ankerbasis (Anchor Base)
- Browser anhängen (Attach Browser)
- Fenster anhängen (Attach Window)
- Benutzeingabe blockieren (Block User Input)
- Textfeld (Callout)
- Prüfen (Check)
- Klicken (Click)
- Bild anklicken (Click Image)
- Bild-Trigger anklicken (Click Image Trigger)
- OCR-Text anklicken (Click OCR Text)
- Text anklicken (Click Text)
- Trigger anklicken (Click Trigger)
- Anwendung schließen (Close Application)
- Registerkarte schließen (Close Tab)
- Fenster schließen (Close Window)
- Kontextbewusster Anker
- Ausgewählten Text kopieren (Copy Selected Text)
- Element Attribute Change Trigger
- Element vorhanden (Element Exists)
- Elementumfang (Element Scope)
- Element State Change Trigger
- Export UI Tree
- Strukturierte Daten extrahieren (Extract Structured Data)
- Untergeordnete Elemente finden (Find Children)
- Element finden (Find Element)
- Bild finden (Find Image)
- Bildübereinstimmung finden (Find Image Matches)
- OCR-Textposition finden (Find OCR Text Position)
- Relatives Element finden (Find Relative Element)
- Textposition finden (Find Text Position)
- Aktives Fenster abrufen (Get Active Window)
- Vorgänger-Element erhalten (Get Ancestor)
- Attribut erhalten (Get Attribute)
- Ereignisinfo erhalten (Get Event Info)
- Aus Zwischenablage erhalten (Get From Clipboard)
- Volltext erhalten (Get Full Text)
- OCR-Text erhalten (Get OCR Text)
- Passwort erhalten (Get Password)
- Position erhalten (Get Position)
- Quellelement erhalten (Get Source Element)
- Text erhalten (Get Text)
- Sichtbaren Text erhalten (Get Visible Text)
- Zurück (Go Back)
- Weiter (Go Forward)
- Zur Startseite (Go Home)
- Google Cloud Vision OCR
- Fenster ausblenden (Hide Window)
- Markieren (Highlight)
- Hotkey-Trigger (Hotkey Trigger)
- Darauf zeigen (Hover)
- Auf Bild zeigen (Hover Image)
- Auf OCR-Text zeigen (Hover OCR Text)
- Text beim Darauf zeigen (Hover Text)
- Bild vorhanden (Image Exists)
- Auf Bildschirm anzeigen (Indicate On Screen)
- .NET-Code einfügen
- Inject Js Script
- ActiveX-Methode aufrufen
- Tastendruck-Trigger (Key Press Trigger)
- Bild laden (Load Image)
- Fenster maximieren (Maximize Window)
- Microsoft Azure ComputerVision OCR
- Microsoft OCR
- Microsoft Project Oxford Online OCR
- Fenster minimieren (Minimize Window)
- Ereignisse überwachen (Monitor Events)
- Maus-Trigger (Mouse Trigger)
- Fenster verschieben (Move Window)
- Navigieren zu (Navigate To)
- OCR-Text vorhanden (OCR Text Exists)
- Auf Element erscheinen (On Element Appear)
- Auf Element verschwinden (On Element Vanish)
- Auf Bild erscheinen (On Image Appear)
- Auf Bild verschwinden (On Image Vanish)
- Anwendung öffnen (Open Application)
- Browser öffnen (Open Browser)
- Browser aktualisieren (Refresh Browser)
- Benutzerereignis wiedergeben (Replay User Event)
- Fenster wiederherstellen (Restore Window)
- Bild speichern (Save Image)
- Objekt auswählen (Select Item)
- Mehrere Objekte auswählen (Select Multiple Items)
- Hotkey senden (Send Hotkey)
- Ausschneidebereich einstellen (Set Clipping Region)
- Fokus legen auf (Set Focus)
- Text einstellen (Set Text)
- Auf Zwischenablage setzen (Set To Clipboard)
- Web-Attribut setzen (Set Web Attribute)
- Fenster anzeigen (Show Window)
- Prozess starten (Start Process)
- System-Trigger (System Trigger)
- Screenshot anfertigen (Take Screenshot)
- Tesseract OCR
- Text vorhanden (Text Exists)
- Tooltip
- Eingeben in (Type Into)
- Sicheren Text eingeben (Type Secure Text)
- Vordergrund verwenden
- Attribut abwarten (Wait Attribute)
- Warten, bis Element verschwindet (Wait Element Vanish)
- Warten, bis Bild verschwindet (Wait Image Vanish)
- Prüfung der Barrierefreiheit
- Application event trigger
- Benutzeingabe blockieren (Block User Input)
- Check/Uncheck
- Check App State
- Check Element
- Klicken (Click)
- Click Event Trigger
- Ziehen und Ablegen
- Extract Table Data
- Find Elements
- For Each UI Element
- Get Browser Data
- Clipboard abrufen
- Text erhalten (Get Text)
- Get URL
- Zu URL wechseln
- Markieren (Highlight)
- Darauf zeigen (Hover)
- Inject Js Script
- Tastenkombinationen
- Keypress Event Trigger
- Mouse Scroll
- Navigate Browser
- Objekt auswählen (Select Item)
- Set Browser Data
- Clipboard festlegen
- Set Runtime Browser
- Fokus legen auf (Set Focus)
- Text einstellen (Set Text)
- Screenshot anfertigen (Take Screenshot)
- Eingeben in (Type Into)
- Unblock User Input
- Use Application/Browser
- Window operation
- Anhängen
- Prüfen (Check)
- Klicken (Click)
- Ziehen und Ablegen
- Daten extrahieren
- Attribut erhalten (Get Attribute)
- GetChildren
- GetRuntimeTarget
- GetText
- Get URL
- GoToUrl
- Markieren (Highlight)
- Darauf zeigen (Hover)
- IsEnabled
- Tastaturkürzel (Keyboard Shortcut)
- Mouse Scroll
- Offen
- Objekt auswählen (Select Item)
- Screenshot anfertigen (Take Screenshot)
- Eingeben in (Type Into)
- Wartestatus
- Führen Sie eine Browsersuche durch und rufen Sie Ergebnisse mithilfe von UIAutomation-APIs ab
- Web-Browsing
- Finden von Bildern
- Klicken auf Bilder
- Auslösen und Überwachen von Ereignissen
- Erstellen und Überschreiben von Dateien
- HTML-Seiten: Extrahieren und Bearbeiten von Informationen
- Bearbeiten von Fenstern
- Automatisierte Listenauswahl
- Finden und Bearbeiten von Fensterelementen
- Verwalten der Textautomatisierung
- Laden und Verarbeiten von Bildern
- Verwalten von mausaktivierten Aktionen
- Automatisieren der Anwendungslaufzeit
- Automatisierte Ausführung einer lokalen Anwendung
- Browsernavigation
- Web-Automatisierung
- Beispiel für Trigger Scope
- Aktivieren der Unterstützung für die UI-Automatisierung in DevExpress
- Computer Vision Local Server
- Mobile Automation
- Versionshinweise
- Über die Architektur der Automatisierung von Mobilgeräten
- Projektkompatibilität
- Get Log Types
- Get Logs
- Get Page Source
- Get Device Orientation
- Get Session Identifier
- Install App
- Manage Current App
- Manage Other App
- DeepLink öffnen
- Open URL
- Mobile Device Connection
- Richtungswechsel
- Muster zeichnen
- Positional Swipe
- Press Hardware Button
- Set Device Orientation
- Screenshot anfertigen (Take Screenshot)
- Take Screenshot Part
- Element vorhanden (Element Exists)
- Execute Command
- Attribut erhalten (Get Attribute)
- Get Selected Item
- Text erhalten (Get Text)
- Set Selected Item
- Text einstellen (Set Text)
- Wischen
- Tap
- Type Text
- Terminal
- Versionshinweise
- Über das Terminal-Aktivitätspaket
- Projektkompatibilität
- Best Practices
- Find Text
- Get Color At Position
- Get Cursor Position
- Feld erhalten (Get Field)
- Feld an Position erhalten (Get Field at Position)
- Bildschirmbereich erhalten (Get Screen Area)
- Text erhalten (Get Text)
- Text an Position erhalten (Get Text at Position)
- Cursor bewegen (Move Cursor)
- Move Cursor to Text
- Strg-Taste senden (Send Control Key)
- Tasten senden (Send Keys)
- Sichere Tasten senden (Send Keys Secure)
- Feld setzen (Set Field)
- Feld an Position setzen (Set Field at Position)
- Terminalsitzung (Terminal Session)
- Warte auf Feldtext (Wait Field Text)
- Wait Screen Ready
- Warte auf Bildschirmtext (Wait Screen Text)
- Warte auf Text an Position (Wait Text at Position)
- Terminalcodierte Automatisierungs-APIs

UIAutomation-Aktivitäten
Eingeben in (Type Into)
Gibt Text in ein bestimmtes UI-Element ein, z. B. ein Textfeld. Sie können auch Sondertasten wie die Tabulator- oder die Eingabetaste an das UI-Element senden.
Wenn Sie vertrauliche Informationen sicher eingeben möchten, fügen Sie eine GetCredential- API vor dieser API hinzu und wählen Sie die für später gespeicherten Werte für Benutzername und Kennwort aus dieser API als einzugebenden Text aus.
Definition
Namespace: UiPath.UIAutomationNext.API.Models
Assembly: UiPath.UIAutomationNext.API.Models (in der DLL-Datei UiPath.UIAutomationNext.API.Models)
Überladungen
| Überladen | Beschreibung |
|---|---|
TypeInto(TargetAnchorableModel, String) | Gibt Text in ein angegebenes UI-Element ein, das als Zeichenfolge aus dem Object-Repository identifiziert wird. |
TypeInto(TargetAnchorableModel, TypeIntoOptions) | Gibt Text in ein bestimmtes UI-Element ein, das als TargetAnchorableModel -Objekt identifiziert wird. |
TypeInto(String, String) | Gibt Text in ein angegebenes UI-Element ein, das als Zeichenfolge aus dem Object-Repository identifiziert wird. |
TypeInto(String, TypeIntoOptions) | Gibt zusammen mit anderen Konfigurationen Text in ein angegebenes UI-Element ein, das als Zeichenfolge aus dem Object-Repository identifiziert wird. |
TypeInto(TargetAnchorableModel, String)
Gibt Text in ein angegebenes UI-Element ein, das als Zeichenfolge aus dem Object-Repository identifiziert wird.
TypeInto(
TargetAnchorableModel target,
string text)
TypeInto(
TargetAnchorableModel target,
string text)
target TargetAnchorableModel : Das Ziel-UI-Element, das als TargetAnchorableModel -Objekt identifiziert wird.
text String : Der Text, in den Sie eingeben möchten.
TypeInto(TargetAnchorableModel, TypeIntoOptions)
Gibt Text in ein bestimmtes UI-Element ein, das als TargetAnchorableModel -Objekt identifiziert wird.
TypeInto(
TargetAnchorableModel target,
TypeIntoOptions typeIntoOptions)
TypeInto(
TargetAnchorableModel target,
TypeIntoOptions typeIntoOptions)
target TargetAnchorableModel : Das Ziel-UI-Element, das als TargetAnchorableModel -Objekt identifiziert wird.
typeIntoOptions TypeIntoOptions : Die folgenden Optionen sind verfügbar:
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/de/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/de/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/de/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
TypeInto(String, String)
Gibt Text in ein angegebenes UI-Element ein, das als Zeichenfolge aus dem Object-Repository identifiziert wird.
TypeInto(
string target,
string text)
TypeInto(
string target,
string text)
target : Das Ziel-UI-Element, in das Sie eingeben möchten, wird als Zeichenfolge aus dem Object-Repository identifiziert.
text String : Der Text, in den Sie eingeben möchten.
TypeInto(String, TypeIntoOptions)
Gibt zusammen mit anderen Konfigurationen Text in ein angegebenes UI-Element ein, das als Zeichenfolge aus dem Object-Repository identifiziert wird.
TypeInto(
string target,
TypeIntoOptions typeIntoOptions)
TypeInto(
string target,
TypeIntoOptions typeIntoOptions)
target : Das Ziel-UI-Element, in das Sie eingeben möchten, wird als Zeichenfolge aus dem Object-Repository identifiziert.
typeIntoOptions TypeIntoOptions : Die folgenden Optionen sind verfügbar:
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/de/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/de/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/de/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.