UiPath Documentation
studiox
2024.10
true
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.
UiPath logo, featuring letters U and I in white

StudioX user guide

Última atualização 30 de abr de 2026

Como editar um destino

If the target is not identified correctly during project execution, you can edit the target and its anchors after you have indicated it by selecting docs image > Edit Target in the body of the activity. This opens the selection mode with the target and any identified anchors highlighted. A menu is displayed when you hover the mouse over a target or anchor.

Imagem dos documentos

  • To remove a target or an anchor, hover it, and then click Delete Imagem dos documentos in the hover menu. If you remove a target, the first element you click is added as the new target.

  • To add an anchor for a target, click the element to add as an anchor. Depending on the settings of your project, you may need to click Add Anchor Imagem dos documentos in the hover menu of the target first. You can add up to three anchors for each target.

  • To edit a target or an anchor, hover it, and then click Settings docs image in the hover menu. The properties of the methods used for detecting the element can be edited from the Advanced Settings section of the Selection Options window:

    • Selector / Fuzzy Selector - Edit the selector using the corresponding text box. To copy the selector for pasting in another element or for editing in the UI Explorer, click Copy docs image next to it.
  • You can use variables in attribute values. The variables must be surrounded in double curly brackets, for example <wnd name='da{{var1}}'/> adds the value of var1 to the selector. The default value of the variable is used at design time. For information on how to create variables for selectors, see Creating Variables for Use in Selectors.

    • For Fuzzy Selectors, you can change the Selector Accuracy level by dragging the corresponding slider from 0.4 to 1. This measurement expresses the level of similarity between the attribute you are searching for and the one to be found. To find results with a higher similarity, increase the value. The default value is 0.7. You can find more information about selectors in the Studio guide.
    • Image - Change the Image Accuracy level by dragging the corresponding slider from 0.4 to 1. This measurement expresses the level of similarity between the image you are searching for and the one to be found. In situations when the image to be found can be slightly different than the one you are searching for, you can lower the accuracy. The default value is 0.8.

    • Desabilite/habilite um método desmarcando/selecionando a caixa de seleção ao lado do nome do método.

    • Verify how unique a method is by clicking Show all matches Imagem dos documentos next to it. This checks all the elements in the window and highlights all that have similarities with the currently selected element in yellow.

    • Click Apply to save the changes, and then click Validate if you want to validate the selection. To save the selection, click Confirm.

      Imagem dos documentos

Como Validar a sua Seleção

A validação permite que você verifique a eficiência da seleção atual na identificação do destino, verificando-o pelo uso de todos os métodos e âncoras selecionados. O resultado da validação é exibido na parte superior da janela Opções de seleção. Se ajustes forem necessários, uma mensagem é exibida com informações sobre como melhorar a seleção.

O desempenho de cada método é exibido na seção Configurações Avançadas da janela Opções de Seleção usando um dos seguintes ícones:

docs image O método foi o primeiro a identificar com sucesso o elemento.

docs image O método identificou com sucesso o elemento.

docs image O método não identificou o elemento, porque foram encontradas muitas duplicatas.

docs image O método não identificou o elemento.

Como criar variáveis para uso em seletores

You can create variables from the Use Application/Browser activity and most other container activities. The scope of the variable is within the activity where it is created.

Para criar uma variável a ser usada em um seletor:

  1. In the title bar of a container activity, select Settings Imagem dos documentos > Value Mappings.
  2. Na janela Mapeamentos de valor, clique em Adicionar e forneça as seguintes informações:
    • Nome - Insira um nome para a variável. O nome deve seguir convenções de nomenclatura.

    • Value - Click Plus docs image on the right side of the field, and then use one of the options in the menu to indicate the value to use at runtime. For example, you can enter text, select a cell from an Excel file, or select a previously saved for later text value. The variable type is string.

      Imagem dos documentos

After a variable is created, you can add it to selectors in activities added inside the container where it was created. For more information, see Editing a Target. The variable can also be selected from the Plus docs image menu of compatible activity fields inside the container.

Para um exemplo de como usar variáveis em seletores, assista ao seguinte vídeo.

  • Como Validar a sua Seleção
  • Como criar variáveis para uso em seletores

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