- Visão geral
- Automação de Interface Gráfica
- Sobre o pacote de atividades UIAutomation
- Aplicativos e tecnologias automatizados com a Automação de Interface Gráfica
- Compatibilidade do projeto
- UI-ANA-016 - Extrair URL de navegador aberto
- UI-ANA-017 - ContinuarComErro verdadeiro
- UI-ANA-018 - Listar atividades de OCR/Imagem
- UI-DBP-006 - Uso do contêiner
- UI-DBP-013 - Uso Incorreto da Automação do Excel
- UI-DBP-030 - Uso de variáveis proibidas em seletores
- UI-DBP-031 - Verificação de atividades
- UI-PRR-001 - Simular clique
- UI-PRR-002 - Simular Digitação
- UI-PRR-003 - Uso incorreto do aplicativo aberto
- UI-PRR-004 - Atrasos Embutidos em Código
- UI-REL-001 - Idx grande em Seletores
- UI-SEC-004 - Dados de e-mail do seletor
- UI-SEC-010 — restrições de app/URL
- UI-USG-011 - Atributos não permitidos
- UX-SEC-010 — restrições de app/URL
- UX-DBP-029 - Uso de senha não segura
- UI-PST-001 - Nível de log de auditoria nas configurações do projeto
- Ferramenta de Migração de Navegador do UiPath
- Região do Recorte
- Computer Vision Recorder
- Índice de atividades
- Ativar
- Anchor Base
- Anexar Navegador
- Anexar Janela
- Block User Input
- Texto Explicativo
- Marcar
- Click
- Clicar na Imagem
- Click Image Trigger
- Click OCR Text
- Clicar no Texto
- Click Trigger
- Close Application
- Fechar Guia
- Close Window
- Context Aware Anchor
- Copy Selected Text
- Element Attribute Change Trigger
- Element Exists
- Element Scope
- Element State Change Trigger
- Export UI Tree
- Extrair Dados Estruturados
- Find Children
- Localizar Elemento
- Localizar Imagem
- Find Image Matches
- Find OCR Text Position
- Localizar Elemento Relativo
- Find Text Position
- Get Active Window
- Get Ancestor
- Get Attribute
- Get Event Info
- Get From Clipboard
- Obter Texto Completo
- Get OCR Text
- Get Password
- Get Position
- Get Source Element
- Get Text
- Obter Texto Visível
- Voltar
- Avançar
- Ir para a Página Inicial
- Google Cloud Vision OCR
- Hide Window
- Highlight
- Hotkey Trigger
- Hover
- Focalizar Imagem
- Hover OCR Text
- Focalizar Texto
- Imagem Existe
- Indicate On Screen
- Inject .NET Code
- Inject Js Script
- Invoke ActiveX Method
- Key Press Trigger
- Carregar Imagem
- Maximize Window
- Microsoft Azure Computer Vision OCR
- Microsoft OCR
- Microsoft Project Oxford Online OCR
- Minimize Window
- Monitorar eventos
- Mouse Trigger
- Move Window
- Navegar Para
- OCR Text Exists
- On Element Appear
- On Element Vanish
- Aparecer Na Imagem
- Desaparecer Na Imagem
- Abrir Aplicativo
- Abrir Navegador
- Atualizar Navegador
- Replay User Event
- Restore Window
- Save Image
- Select Item
- Select Multiple Items
- Enviar Tecla de Acesso
- Set Clipping Region
- Set Focus
- Set Text
- Set To Clipboard
- Set Web Attribute
- Show Window
- Iniciar Processo
- System Trigger
- Take Screenshot
- Tesseract OCR
- Texto Existe
- Dica de ferramenta
- Type Into
- Digitar Texto Seguro
- Use Foreground
- Wait Attribute
- Esperar Elemento Desaparecer
- Aguardar Imagem Desaparecer
- Verificação de acessibilidade
- Application event trigger
- Block User Input
- Check/Uncheck
- Check App State
- Check Element
- Click
- Click Event Trigger
- Drag and Drop
- Extract Table Data
- Localizar elementos
- For Each UI Element
- Get Browser Data
- Obter Área de Transferência
- Get Text
- Get URL
- Go To URL
- Highlight
- Hover
- Inject Js Script
- Keyboard Shortcuts
- Keypress Event Trigger
- Mouse Scroll
- Navigate Browser
- Save Image
- Select Item
- Set Browser Data
- Definir Área de Transferência
- Set Runtime Browser
- Set Focus
- Set Text
- Take Screenshot
- Type Into
- Unblock User Input
- Use Application/Browser
- Window operation
- Realize pesquisa no navegador e recupere resultados usando APIs de Automação de interface gráfica
- Navegação na Web
- Localizar imagens
- Clicar em imagens
- Disparar e monitorar eventos
- Criar e substituir arquivos
- Páginas HTML: extrair e manipular informações
- Manipulação de janelas
- Seleção automatizada de listas
- Localizar e manipular elementos de janela
- Gerenciar automação de texto
- Carregar e processar imagens
- Gerenciar ações ativadas pelo mouse
- Automatizar o runtime de aplicativos
- Execução automatizada de um aplicativo local
- Navegação em navegador
- Automação da Web
- Exemplo de escopo de disparador
- Habilitar o suporte de Automação de Interface Gráfica no DevExpress
- Computer Vision Local Server
- Automação Móvel
- Notas de versão
- Sobre a arquitetura de automação de dispositivos móveis
- Compatibilidade do projeto
- Get Log Types
- Get Logs
- Get Page Source
- Get Device Orientation
- Get Session Identifier
- Instalar Aplicativo
- Gerenciar Aplicativo Atual
- Manage Other App
- Open DeepLink
- Abrir URL
- Mobile Device Connection
- Deslizar Direcional
- Padrão de Desenho
- Positional Swipe
- Press Hardware Button
- Set Device Orientation
- Take Screenshot
- Obter parte da captura de tela
- Element Exists
- Execute Command
- Get Attribute
- Get Selected Item
- Get Text
- Set Selected Item
- Set Text
- Deslizar
- Tap
- Type Text
- Terminal
- Notas de versão
- Sobre o pacote de atividades Terminal
- Compatibilidade do projeto
- Melhores práticas
- Find Text
- Get Color At Position
- Get Cursor Position
- Get Field
- Obter Campo na Posição
- Obter Área da Tela
- Get Text
- Obter Texto na Posição
- Mover Cursor
- Mover cursor para o texto
- Enviar Tecla de Controle
- Send Keys
- Send Keys Secure
- Set Field
- Definir Campo na Posição
- Terminal Session
- Aguardar Texto do Campo
- Wait Screen Ready
- Aguardar Texto da Tela
- Aguardar Texto na Posição
- APIs de automação codificadas em terminais
Atividades do UIAutomation
Insere texto em um elemento de interface do usuário especificado, por exemplo, uma caixa de texto. Também é possível enviar teclas especiais como Tab ou Enter para o elemento de interface gráfica.
Se você quiser inserir informações confidenciais com segurança, adicione uma API GetCredential antes desta API e selecione os valores de nome de usuário e senha salvos para depois dessa API como o texto a digitar.
Definição
Namespace: UiPath.UIAutomationNext.API.Models
Assembly: UiPath.UIAutomationNext.API.Models (na dll UiPath.UIAutomationNext.API.Models)
Sobrecarregas
| Sobrecarga | Description |
|---|---|
TypeInto(TargetAnchorableModel, String) | Insere o texto em um elemento de interface do usuário especificado, identificado como uma string do Repositório de Objetos. |
TypeInto(TargetAnchorableModel, TypeIntoOptions) | Insere texto em um elemento de interface do usuário especificado, identificado como um objeto TargetAnchorableModel . |
TypeInto(String, String) | Insere o texto em um elemento de interface do usuário especificado, identificado como uma string do Repositório de Objetos. |
TypeInto(String, TypeIntoOptions) | Insere texto em um elemento de interface gráfica especificado, identificado como uma string do Repositório de Objetos, juntamente com outras configurações. |
TypeInto(TargetAnchorableModel, String)
Insere o texto em um elemento de interface do usuário especificado, identificado como uma string do Repositório de Objetos.
TypeInto(
TargetAnchorableModel target,
string text)
TypeInto(
TargetAnchorableModel target,
string text)
target TargetAnchorableModel : o elemento de interface gráfica de destino, identificado como um objeto TargetAnchorableModel .
text String : o texto no qual você deseja digitar.
TypeInto(TargetAnchorableModel, TypeIntoOptions)
Insere texto em um elemento de interface do usuário especificado, identificado como um objeto TargetAnchorableModel .
TypeInto(
TargetAnchorableModel target,
TypeIntoOptions typeIntoOptions)
TypeInto(
TargetAnchorableModel target,
TypeIntoOptions typeIntoOptions)
target TargetAnchorableModel : o elemento de interface gráfica de destino, identificado como um objeto TargetAnchorableModel .
typeIntoOptions TypeIntoOptions : as seguintes opções estão disponíveis:
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/pt-BR/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/pt-BR/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/pt-BR/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
TypeInto(String, String)
Insere o texto em um elemento de interface do usuário especificado, identificado como uma string do Repositório de Objetos.
TypeInto(
string target,
string text)
TypeInto(
string target,
string text)
target : o elemento de interface gráfica de destino no qual você deseja digitar, identificado como uma string do Repositório de objetos.
text String : o texto no qual você deseja digitar.
TypeInto(String, TypeIntoOptions)
Insere texto em um elemento de interface gráfica especificado, identificado como uma string do Repositório de Objetos, juntamente com outras configurações.
TypeInto(
string target,
TypeIntoOptions typeIntoOptions)
TypeInto(
string target,
TypeIntoOptions typeIntoOptions)
target : o elemento de interface gráfica de destino no qual você deseja digitar, identificado como uma string do Repositório de objetos.
typeIntoOptions TypeIntoOptions : as seguintes opções estão disponíveis:
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/pt-BR/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/pt-BR/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/pt-BR/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.