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.
UiPath logo, featuring letters U and I in white

Atividades do UIAutomation

Última atualização 14 de jan de 2026

Set Text

UiPath.MobileAutomation.Activities.SetText

Description

Digita o texto especificado em um elemento de interface gráfica de destino, reconhecido pelo Mobile Automation.

Compatibilidade do projeto

Windows - Legacy | Windows

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 .

  • Text - The text you want to type into the specified UI element, stored in a string. This field supports only strings and String variables.
Painel de Propriedades
Comum
  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

    Observação:

    If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

  • 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
  • SecureText - Send a secure string in the specified UI element. Requires a SecureString variable.
  • Send new line - A boolean variable which specifies whether a new line should be inserted when writing the text. By default, this field is set to True.
  • Tap Before - Specifies whether the target should be tapped before typing the text. By default, this activity is set to Single. Also supports multiple types of taps, as follows:
    • Não
    • Único
    • Double
    • Long
  • 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 .

  • 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.
  • Text - The text you want to type into the specified UI element, stored in a string. This field supports only strings and String variables.
  • Limpar Texto - Limpa qualquer texto no destino antes de inserir o texto que você deseja definir. Essa propriedade é, por padrão, definida como True. Essa propriedade se aplica a todos os tipos de destino.
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?

Obtenha a ajuda que você precisa
Aprendendo RPA - Cursos de automação
Fórum da comunidade da Uipath
Uipath Logo
Confiança e segurança
© 2005-2026 UiPath. Todos os direitos reservados.