UiPath Documentation
activities
latest
false
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.

Atividades do UIAutomation

Última atualização 14 de mai de 2026

Tap

UiPath.MobileAutomation.Activities.Tap

Description

Retorna uma variável de booleano que declara se um elemento de interface gráfica especificado existe.

Compatibilidade do projeto

Windows - Legacy | Windows

Configuração

Painel do Designer

  • Target - Default is set to (null). Once the target is indicated, all attributes regarding the element that was indicated are displayed. You can further create variables out of the displayed attributes of an indicated target.
    • CV Text - O texto identificado pelo modelo do Computer Vision no elemento de interface gráfica de destino.
    • CV Type - O tipo de controle identificado usando o Computer Vision.
      Observação:

      Recomendamos deixar o tipo de controle do CV inalterado após indicar o destino. Caso contrário, o modelo do Computer Vision pode não identificar o destino no runtime, porque você alterou o tipo de controle.

    • Fuzzy selector - The parameters for the fuzzy selector.
    • SearchSteps - Select the methods used to identify targets and anchors from the dropdown list.
    • Seletor restrito - O seletor que é gerado para o elemento indicado. Para saber como criar variáveis a partir dos atributos de um seletor de destino, consulte o tutorial Criação de variáveis a partir de atributos do seletor .
Painel de Propriedades
Comum
  • ContinuarComErro — especifica se a automação deve continuar mesmo quando a atividade gera um erro. Este campo só aceita valores booleanos (True, False). O valor padrão é False. Como resultado, se o campo estiver em branco e um erro for lançado, a execução do projeto será interrompida. Se o valor for definido como True, a execução do projeto prosseguirá mesmo com erros.

    Observação:

    Se esta atividade estiver incluída em Try Catch e o valor da propriedade Continuar com erro for Verdadeiro, nenhum erro será capturado quando o projeto for executado.

  • DelayAfter - Delay time (in seconds) after executing the activity. The default value is 0.3 seconds.

  • DelayBefore - Delay time (in seconds) before the activity begins performing any operations. The default value is 0.2 seconds.

  • DisplayName - O nome de exibição da atividade.

  • Timeout - specifies the amount of time (in seconds) to wait for a specified element to be found before an error is thrown. The default value is 30 seconds.

Entrada
  • Tap Type - Specifies which kind of tap you want to perform on the specified UI element. The following options are available:
    • Único
    • Double
    • LongPress
  • Target - Default is set to (null). Once the target is indicated, all attributes regarding the element that was indicated are displayed. You can further create variables out of the displayed attributes of an indicated target.
    • CV Text - O texto identificado pelo modelo do Computer Vision no elemento de interface gráfica de destino.
    • CV Type - O tipo de controle identificado usando o Computer Vision.
      Observação:

      Recomendamos deixar o tipo de controle do CV inalterado após indicar o destino. Caso contrário, o modelo do Computer Vision pode não identificar o destino no runtime, porque você alterou o tipo de controle.

    • Fuzzy selector - The parameters for the fuzzy selector.
    • SearchSteps - Select the methods used to identify targets and anchors from the dropdown list.
    • Seletor restrito - O seletor que é gerado para o elemento indicado. Para saber como criar variáveis a partir dos atributos de um seletor de destino, consulte o tutorial Criação de variáveis a partir de atributos do seletor .
  • Tap offset (Optional) - Set the parameters of your target element. This property is triggered when you enable the Target.
    • Anchoring point - Select the default positioning of the anchor point.
    • CoordinateType - Choose how to set the target coordinates. You can select one of the following:
      • PhysicalPixels - Use this option for workflows using a single device. Since the indication corresponds to actual pixels on the screen, it's different for each device.
      • DeviceIndependentPixels - Use this option to run workflows on devices with similar density screens. Device-independent pixels means that you are indicating a target based on the pixel density of the selected screen area.
    • Offset X - Horizontal displacement of the targeted area selected in the CoordinateType field.
    • Offset Y - Vertical displacement of the targeted area selected in the CoordinateType field.
Diversos
  • Privado - Se selecionado, os valores de variáveis e argumentos não são mais registrados no nível Verbose.
  • Description
  • Compatibilidade do projeto
  • Configuração

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