UiPath Documentation
studio
2020.10
false
Guide de l’utilisateur de Studio
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Création d'un processus de base

This tutorial teaches you how to create a basic process in Studio in 10 minutes and run it on your machine. The example opens a browser, loads a certain web page, scrapes information, and writes it to the Output panel, and in a Notepad file.

Regardez la vidéo ou suivez les étapes décrites en détail ci-dessous :

  1. Lancez Studio. En mode HOME Backstage, cliquez sur Processus (Process) pour créer un projet. La fenêtre Nouveau processus vierge (New Blank Process) s'affiche.

  2. Tapez le nom du nouveau projet et une description qui résume ce que vous souhaitez faire avec ce projet d’automatisation. Choisissez l'emplacement du nouveau projet.

    Remarque :

    Le nom du projet ne peut pas dépasser 128 caractères et la description ne peut pas dépasser 500 caractères.

  3. Cliquez sur Créer (Create). Le nouveau projet est ouvert dans Studio.

  4. In the Activities panel, search for Open Browser and drag it to the Designer panel. Notice that the activity is automatically added inside a Sequence.

  5. Ajoutez l'URL "https://www.uipath.com/product/studio" dans le champ d'entrée Ouvrir le navigateur (Open Browser). Utilisez Ctrl + S (Ctrl + S) ou cliquez sur Enregistrer (Save) dans le ruban, puis appuyez sur Ctrl + F6 (Ctrl + F6) pour exécuter le processus. La page Web susmentionnée s'ouvre dans Internet Explorer.

  6. From the Activities panel, add a Get Visible Text activity to the Do container of the Open Browser activity. Click Indicate element inside browser, and click on the text that you want to scrape from the previously loaded web page.

  7. In the Variables panel, create a new string variable called GetText, and set its scope to Sequence. The purpose of this variable is to store the scraped information.

  8. Dans l'activité Get Visible Text, panneau Propriétés (Properties), sélectionnez le champ en regard de la propriété Text, puis insérez la variable GetText.

  9. From the Activities panel, drag a Write stepne activity. In the input text field, add the previously created variable. This activity writes the scraped data to the Output panel.

  10. Add an Open Appstepcation activity to the project. Open a Notepad instance, click Indicate window on screen and select the opened appstepcation. Notepad’s file path is detected.

  11. Add a Type Into activity in the Open Appstepcation activity’s Do container. Click Indicate element inside window to select the Notepad window, and add the GetText variable to the input text field. This activity writes the scraped text to a Notepad window.

  12. Dans le ruban, cliquez sur Run File (Exécuter le fichier) ou utilisez le raccourci Ctrl + F6 (Ctrl + F6) pour exécuter le projet.

When the execution is completed, notice that the scraped text is written to the Output panel, and in the Notepad file.

De même, vous pouvez créer d'autres processus pour extraire des données depuis des pages Web, à l'aide de l'assistant.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour