UiPath Documentation
activities
latest
false

UIAutomation-Aktivitäten

Letzte Aktualisierung 8. Mai 2026

App-/Web-Aufzeichnung

Über die App/den Web Recorder

Mit der Aufzeichnung können Sie bei der Automatisierung Ihrer Aufgaben viel Zeit sparen. Der App/Web Recorder erfasst Ihre Aktionen, während Sie sie auf dem Bildschirm ausführen, und generiert basierend auf Ihren Aktionen eine Use Application/Browser-Aktivität mit einer Reihe von darin enthaltenen Aktivitäten.

Alle Elemente der Benutzeroberfläche werden während der Aufzeichnung hervorgehoben, damit Sie sicher sein können, dass die richtigen Schaltflächen, Felder oder Menüs ausgewählt sind. Der Recorder erfasst eine Standardaktion für jeden Typ von UI-Element und ermöglicht es Ihnen auch, die gewünschte Aktion manuell auszuwählen, bevor Sie sie ausführen.

The recorder displays a preview of the activities that will be added to your project in real time. The preview includes informative screenshots that are also added to the activities in the automation project. The preview section can be collapsed by clicking the Recorded Steps header.

Jede aufgezeichnete Aktion generiert eine Aktivität. In der folgenden Tabelle sind die Aktionen aufgeführt, die Sie aufzeichnen können, und die Aktivitäten, die für sie generiert werden. Einige Aktionen werden automatisch aufgezeichnet, d. h. die entsprechende Aktivität wird automatisch generiert, während andere vor der Aufzeichnung manuell ausgewählt werden müssen.

Automatisch aufgezeichnete Aktionen

Aktionen, die vor der Aufzeichnung ausgewählt werden müssen

  • Clicking on buttons, links, and other clickable elements such as icons or images. A Click activity is generated.
  • Typing text in a text area such as a text box. A Type Into activity is generated.
  • Selecting or clearing a check box. A Check/Uncheck activity is generated.
  • Sending keyboard shortcuts using your keyboard. A Keyboard Shortcuts activity is generated.
  • Selecting an item from a drop-down. A Select Item activity is generated.
  • Copying text using the Get Text activity.
  • Hovering over an element using the Hover activity.
  • Highlighting an element using the Highlight activity.

Aufzeichnen Ihrer Aktionen

  1. Öffnen Sie die Anwendung oder Webbrowserseite, die Sie automatisieren möchten.

  2. Click App/Web Recorder in the Studio ribbon or press Ctrl+Alt+R on your keyboard. Depending on your configuration, this option could also be located under Recording. The App/Web Recorder window is displayed.

  3. (Optional) By default, after you indicate the UI element to interact with, the target selection is made automatically. If you want to be able to add or remove anchors, remove and add the target again after indicating it, and confirm the selection before recording steps, select Confirm every step.

    Even if you do not select this option, you can quickly enable it for individual steps in the recording. To do this, press and hold the Shift key while you click a UI element to interact with, or while you select an option from the Choose actiondocs image hover menu.

  4. Once opened, the Recorder is ready to record actions. If you choose to pause it, you can click Recorddocs image to resume recording.

    Hinweis:

    Wenn Sie den App/Web Recorder öffnen, während im Workflow Designer eine Use Application/Browser- Aktivität ausgewählt ist, können Sie nur Aktionen für Elemente in der Anwendung oder im Browser angeben, die als Ziel für diese Aktivität festgelegt sind. Wenn eine Use Application/Browser- Aktivität nicht ausgewählt ist, können Sie Ihre Aktionen in allen Anwendungen aufzeichnen, die auf Ihrer Maschine geöffnet sind.

  5. (Optional) You can enable Object Repository support for the Recorder by hitting the Dokumentationsbild button, which lets you use existing Object Repository objects or create new ones when needed.

  6. Geben Sie das Element an, für das Sie Aktionen ausführen möchten, indem Sie darauf klicken. Einzelne Elemente im Fenster werden hervorgehoben, wenn Sie die Maus darüber bewegen.

    • Um die Standardaktion für das UI-Element aufzuzeichnen, mit dem Sie interagieren möchten, klicken Sie auf das Zielelement.
    • To perform non-default actions (such as actions performed by activities like Get Text, Hover, and more), hover the mouse over the target element, and then select an option from the Choose actiondocs image hover menu that appears next to the element.

    You can also use Image automation by dragging an area in your application and selecting an action you want to perform from the Choose action menu. After a manually added action is recorded, the Recorder returns to automatic selection mode. You can change the layout of the menu between icons-only and list view, or pin it so that it is always visible during the recording using the buttons in the upper-right side of the menu.

  7. Some actions require your input before an activity is generated, so make sure to provide the necessary information when prompted, and then press Enter on your keyboard or click Confirm. For example, if you selected a text box, a Type Into action is detected and you are prompted to enter the text to type.

    Hinweis:

    To ensure the action is performed on the intended element, do not move the mouse over another UI element until the action is performed for the current target element.

  8. Die Aktion wird ausgeführt und die Aktivität wird generiert. Um fortzufahren, wählen Sie das nächste Element aus, mit dem Sie auf ähnliche Weise interagieren möchten, und wiederholen Sie dies, bis alle Aktionen aufgezeichnet wurden.

  9. When you are done recording your actions, click Save and return to Studiodocs image to close the Recorder and add the activities to your project.

Wenn beim Starten des Recorders eine Containeraktivität im Panel Designer ausgewählt wurde, werden die generierten Aktivitäten darin hinzugefügt. Wenn eine Aktivität ausgewählt wurde, die kein Container ist, werden die generierten Aktivitäten nach der ausgewählten Aktivität hinzugefügt.

Während der Aufzeichnung können Sie:

  • Add a 5 seconds delay in element selection by pressing F2 on your keyboard. You can do this if, for example, an element you need to interact with is not in the visible area of the screen and you need time to scroll down to it.
  • Pause recording at any time by clicking PauseDokumentationsbild. To resume recording, click RecordDokumentationsbild again.
  • Verwenden Sie die Modifikatortasten, Alt, Strg, Umschalt.
  • Manage the activities added so far using the preview under Recorded Steps:
    • Remove an activity by clicking DeleteDokumentationsbild in the upper-right corner of the activity.
    • Konfigurieren Sie die Eingabe oder Ausgabe einiger Aktivitäten:
      • Edit the text to type for Type Into.
      • Update the selection for Select Item.
      • Change the action for Check/Uncheck.
      • Remove recorded sequences for Keyboard Shortcuts.
      • Select where to save the copied text for Get Text.

The App/Web Recorder window allows you to select the Input Mode that is used to perform the recorded actions, both during the recording and at runtime, when the workflow is executed. This allows real time testing of the input method on specific elements. For instance, if a recorded action doesn’t seem to be performed, try changing the input method to Hardware Events, as the element may not support other input methods. Clicking docs image displays a menu, from which you can select Chromium API, Window Messages, Hardware Events, or Simulate. By default, the input method is set to Auto, which auto-detects the best input method, based on Project Settings.

Hinweis:

Due to the fact that actions such as Double-Click, Right-Click, and Keyboard Shortcuts executed with the Simulate method usually fail, they are recorded and performed automatically with the Hardware Events method, even if you have selected the Simulate method.

Clicking the docs image button enables full configuration of the targets and saved values. When it is enabled, all the targets must be confirmed using the blue button that appears on hover over the target (similar to the selection screen). This mode should be used if additional/different anchors need to be added during the recording.

Hinweis:

When recording in the StudioX profile, the Indicate in Excel option is not available in the PlusDokumentationsbild menu. To indicate Excel data, select named cells, use the Custom Input option, or leave the field blank and use Indicate in Excel after completing the recording and returning to the StudioX designer.

Object Repository-Integration

Die Generierung von Object Repository -Objekten bei der Durchführung einer Aufzeichnung kombiniert das Beste aus beiden Welten, sodass Sie funktionierende Automatisierungen im Handumdrehen und in skalierbarer Weise erstellen können.

When the docs image switch is activated in the Recorder, any element that is indicated while recording is checked against objects in the Object Repository, leading to one of three scenarios:

  • Wenn das Objekt nicht gefunden wird, wird ein neues Objekt für das angegebene Element erstellt und kann dann problemlos wiederverwendet werden.
  • Wenn das Objekt gefunden wird, wird es mit der aufgezeichneten Aktivität verknüpft.
  • Wenn mehrere Objekte gefunden werden, die mit dem angegebenen Element übereinstimmen, werden Sie aufgefordert, eines davon auszuwählen oder ein neues zu erstellen.
    Hinweis:

    Using large Object Repositories with the Recorder might cause the execution to be slower

Automatisch generierte Aktivitäten

Die folgenden Aktivitäten werden automatisch generiert, wenn die entsprechende Aktion erkannt wird. Bei Bedarf können Sie die Eigenschaften der Aktivitäten nach Abschluss der Aufzeichnung aktualisieren.

  • Click - Generated when you select a button or a link while recording. The click type and mouse button are also recorded.
  • Type Into – Wird generiert, wenn Sie während der Aufzeichnung ein Textfeld oder andere bearbeitbare UI-Elemente auswählen.

After you select the text field, you are prompted to enter the text to complete the action. You can select Plain text to enter the text directly in the dialog box, or Expression to select Excel data or saved for later values from the Plusdocs image menu (in StudioX) or an expression (in Studio). By default, the Empty field option is selected to remove any existing text before typing.

  • Select Item - Generated when you select a drop-down list or combo box while recording. After you select the drop-down, you are prompted to select an item from the list to complete the action.
  • Check/Uncheck - Generated when you select a radio button or a check box. The default action to perform on the check box is Toggle.
  • Tastenkombinationen – Wird generiert, wenn Sie während der Aufzeichnung eine Kombination von Tastenkombinationen drücken.

Manuell generierte Aktivitäten

In einigen Situationen müssen Sie die Aktion manuell auswählen, die als Nächstes ausgeführt werden soll, bevor Sie die Aktion aufzeichnen und die Aktivität generieren.

  • Die folgenden Aktionen können nicht automatisch aufgezeichnet werden:
    • Kopieren Sie Text aus einer Anwendung oder einem Webbrowser mithilfe der Aktivität „Get Text“ . Nachdem Sie die Aktion sowie das Zielelement ausgewählt haben, geben Sie an, wo der kopierte Text aus der Vorschau der Aktivität „Aufgezeichnete Schritte“ gespeichert werden soll. Wenn die Option Jeden Schritt bestätigen ausgewählt ist, werden Sie aufgefordert, nach der Bestätigung des Ziels anzugeben, wo der Text gespeichert werden soll.
    • Zeigen Sie auf ein UI-Element mithilfe der Aktivität Hover .
    • Heben Sie ein UI-Element mit der Aktivität Highlight hervor.
  • Die automatisch aufgezeichnete Aktion ist möglicherweise nicht die gewünschte Aktion. Sie haben beispielsweise in Notepad auf den Textbereich geklickt, um etwas einzutippen, aber die standardmäßig aufgezeichnete Aktion war „Klick“. In diesem Fall können Sie die standardmäßig hinzugefügte Aktion löschen und die beabsichtigte Aktivität manuell hinzufügen.

You can manually select which action to perform from the Choose actiondocs image hover menu that appears next to UI elements during recording.

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