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 22 de mai de 2026

Deslizar

UiPath.MobileAutomation.Activities.Swipe

Description

Essa atividade tem como objetivo dois elementos: Contêiner e Destino. Defina o Contêiner como a área designada para a operação de deslizar ( normalmente uma lista, mas pode ser qualquer elemento rolável). Especifique o Destino como o elemento que você está procurando. A operação de deslizar itera por meio de várias ações de deslizar na lista (de até MaxNumberOfSwipes) até localizar o elemento especificado. Se o Destino não estiver definido, a operação de deslizar realizará uma única operação de deslizar sem pesquisar um elemento específico.

Configuração

Painel do Designer

  • Target - Default is set to (null). Once the target is indicated, all properties 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 .
  • Contêiner - O contêiner da interface gráfica de destino no qual você deseja realizar a operação de deslizar ( normalmente uma lista, mas pode ser qualquer elemento rolável). Padrão é definido como (null). Depois que o contêiner de destino for indicado, todas as propriedades relacionadas ao elemento que foi indicado são exibidas.
    • 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.
    • Strict selector - The selector that is generated for the indicated element.
    • Deslocamento de toque (para o Contêiner de destino ) — defina os parâmetros do seu elemento de destino. Essa propriedade é disparada quando você habilita o Destino.
      • 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.

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

  • Target - Default is set to (null). Once the target is indicated, all properties 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 .
  • MaxNumberOfSwipes - The maximum number of swipes that are attempted on the specified device. By default, this field is set to 10. This field supports only Int32 variables.
  • SwipeDirection - Specifies the direction in which you want to perform the swipe. The following options are available:
    • Up
    • Down
    • Left
    • Direita
  • 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

  • Contêiner - O contêiner da interface gráfica de destino no qual você deseja realizar a operação de deslizar ( normalmente uma lista, mas pode ser qualquer elemento rolável). Padrão é definido como (null). Depois que o contêiner de destino for indicado, todas as propriedades relacionadas ao elemento que foi indicado são exibidas.
    • 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.
    • Strict selector - The selector that is generated for the indicated element.
    • Deslocamento de toque (para o Contêiner de destino ) — defina os parâmetros do seu elemento de destino. Essa propriedade é disparada quando você habilita o Destino.
      • 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.
  • Privado - Se selecionado, os valores de variáveis e argumentos não são mais registrados no nível Verbose.
  • Description
  • Configuração
  • Painel do Designer
  • Painel de Propriedades
  • Comum
  • Entrada
  • Diversos

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