UiPath Documentation
studio
2024.10
false
Wichtig :
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Studio-Benutzerhandbuch

Erstellen eines Basisprozesses

In diesem Tutorial erfahren Sie, wie Sie in Studio in 10 Minuten einen grundlegenden Prozess erstellen und ihn auf Ihrer Maschine ausführen. Das Beispiel öffnet einen Browser, lädt eine bestimmte Webseite, ruft Informationen ab und schreibt sie in den Bereich Ausgabe sowie in eine Notepad-Datei.

  1. Launch Studio. In the HOME Backstage view, select Process to create a new project. The New Blank Process window is displayed.

  2. Im Fenster „Neuer leerer Prozess“:

    • Geben Sie einen Namen für das neue Projekt und eine Beschreibung ein, die zusammenfasst, was Sie mit diesem Automatisierungsprojekt erreichen möchten.

      Hinweis:

      Der Projektname darf 128 Zeichen und die Beschreibung darf 500 Zeichen nicht überschreiten.

    • Wählen Sie Erweiterte Optionen anzeigen und dann den Speicherort aus, an dem das Projekt erstellt werden soll.

    • Wählen Sie Windows für die Option Kompatibilität und VB für Sprache aus.

  3. Wählen Sie Erstellen. Das neue Projekt wird in Studio geöffnet.

  4. Öffnen Sie Internet Explorer und navigieren Sie zu https://www.uipath.com/product/studio. Sie können jeden unterstützten Browser verwenden, aber stellen Sie sicher, dass die erforderliche UiPath-Erweiterung installiert ist.

  5. Suchen Sie im Aktivitätenbereich nach Verwenden von Anwendung/Browser und ziehen Sie es in den Designer-Bereich.Beachten Sie, dass die Aktivität automatisch in einer Sequenz hinzugefügt wird.

  6. In Use Application/Browser, select Indicate application to automate, and then move the mouse pointer to the browser page you just opened. When the window is highlighted, select anywhere in the browser page.The Use Application/Browser activity is updated, the URL is added to the Browser URL field, and a screenshot of the window appears inside the activity.

  7. From the Activities panel, add a Get Text activity to the Do container of the Use Application/Browser activity. Select Indicate in IE, and select on the text that you want to scrape from the previously loaded web page.

  8. Erstellen Sie im Variablenbereich eine neue stringVariable mit dem Namen GetText, und legen Sie ihren Bereich auf Sequence.Der Zweck dieser Variable besteht darin, die extrahierten Informationen zu speichern.

  9. Fügen Sie in der Aktivität Get Text die Variable GetText in das Feld Speichern in ein.

  10. Ziehen Sie im Aktivitätenbereich eine Write Line-Aktivität.Fügen Sie im Eingabetextfeld die zuvor erstellte Variable hinzu. Diese Aktivität schreibt die gescrapten Daten in den Ausgabebereich.

  11. Add another Use Application/Browser activity to the project. Open a Notepad instance, select Indicate application to automate, and then move the mouse pointer to the Notepad window you just opened. When the window is highlighted, select anywhere inside it.The Use Application/Browser activity is updated, the path is added to the Application path field, and a screenshot of the window appears inside the activity.

  12. Add a Type Into activity in the Use Application/Browser activity’s Do container. Select Indicate in App to select the Notepad window, and add the GetText variable to the Type this field. This activity writes the scraped text to a Notepad window.

  13. In the ribbon, select Run File or use the Ctrl + F6 shortcut to execute the project.

Ergebnis

Wenn die Ausführung abgeschlossen ist, beachten Sie, dass der extrahierte Text in das Panel Ausgabe und in die Notepad-Datei geschrieben wird.

In ähnlicher Weise können Sie andere Prozesse erstellen, um Daten aus Webseiten mit dem Assistenten für Tabellenextraktion zu extrahieren.

  • Ergebnis

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