UiPath Documentation
studio
2020.10
false
Guia do usuário do Studio
Importante :
A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Como criar um processo básico

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.

Confira o vídeo ou siga as etapas detalhadas abaixo:

  1. Inicie o Studio. Em INÍCIO (Modo de exibição Backstage), clique em Processo para criar um projeto. A janela Novo processo em branco será exibida.

  2. Digite um nome para o novo projeto e uma descrição que resuma o que você deseja fazer com esse projeto de automação. Escolha um local para o novo projeto.

    Observação:

    O nome do projeto não pode exceder 128 caracteres e a descrição não pode exceder 500 caracteres.

  3. Clique em Criar. O novo projeto será aberto no 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. Adicione a URL "https://www.uipath.com/product/studio" no campo de entrada Abrir Navegador. Use Ctrl + S ou clique em Salvar na faixa de opções e clique em Ctrl + F6 para executar o processo. A página da Web mencionada anteriormente fica aberta no 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. Na atividade Get Visible Text, no painel Propriedades, selecione o campo ao lado da propriedade Text e insira a variável 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. Na faixa de opções, clique em Executar Arquivo ou use o atalho Ctrl + F6 para executar o projeto.

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

Da mesma forma, você pode criar outros processos para extrair dados de páginas da web, usando o assistente.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades