- 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
- Element Scope
- 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
- Definir servidor CV
- Set Runtime Browser
- Set Focus
- Definir configuração do projeto
- Set Text
- Take Screenshot
- Type Into
- Unblock User Input
- 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
Clica em um elemento de IU especificado, por exemplo, um botão ou link. Pode ser configurado para usar qualquer botão do mouse, use um duplo clique.
Definição
Namespace: UiPath.UIAutomationNext.API.Models
Assembly: UiPath.UIAutomationNext.API.Models (na dll UiPath.UIAutomationNext.API.Models)
Sobrecarregas
| Sobrecarga | Description |
|---|---|
Click(String, ClickOptions) | Clica em um elemento de interface gráfica identificado por uma cadeia de caracteres no Repositório de Objetos. |
Click(IElementDescriptor, ClickOptions) | Clica em um elemento de interface gráfica identificado por um descritor de um elemento do Repositório de Objetos. |
Click(TargetAnchorableModel, ClickOptions) | Clica em um modelo ancorado de destino, que representa um elemento de interface gráfica específico no aplicativo. |
Click(RuntimeTarget, ClickOptions) | Clica em um elemento de interface gráfica identificado por uma instância de runtime de um elemento do Repositório de Objetos. |
Click(String, NClickType, NMouseButton) | Executa uma operação de clique em um elemento de interface gráfica identificado por uma string no Repositório de Objetos, especificando o tipo de clique e o botão do mouse. |
Click(IElementDescriptor, NClickType, NMouseButton) | Clica em um elemento de Interface Gráfica identificado por um descritor de um elemento do Repositório de Objetos, especificando o tipo de clique e o botão do mouse. |
Click(String, ClickOptions)
Clica em um elemento de interface gráfica identificado pela sua representação de string.
Click(
TargetAnchorableModel target,
ClickOptions clickOptions)
Click(
TargetAnchorableModel target,
ClickOptions clickOptions)
target String : indique o elemento de interface gráfica capturado no Repositório de objetos no qual você deseja clicar.
clickOptions ClickOptions : opções adicionais para personalizar a operação de clique:
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType
CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode
NInteractionMode`:
+ `HardwareEvents` - Simulates the click
by using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode
as the Open or Attach APIs. This is the default
selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType
CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode
NInteractionMode`:
+ `HardwareEvents` - Simulates the click
by using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode
as the Open or Attach APIs. This is the default
selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
Click(IElementDescriptor, ClickOptions)
Clica em um elemento de interface gráfica identificado por um descritor de um elemento do Repositório de Objetos.
Click(
IElementDescriptor elementDescriptor,
ClickOptions clickOptions)
Click(
IElementDescriptor elementDescriptor,
ClickOptions clickOptions)
elementDescriptor IElementDescriptor : o elemento de interface gráfica no qual você deseja clicar, identificado por um descritor de um elemento do Repositório de objetos.
clickOptions ClickOptions : opções adicionais para personalizar a operação de clique:
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType
NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType
CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode
NInteractionMode`:
+ `HardwareEvents` - Simulates the click
by using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode
as the Open or Attach APIs. This is the default
selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType
NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType
CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode
NInteractionMode`:
+ `HardwareEvents` - Simulates the click
by using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode
as the Open or Attach APIs. This is the default
selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
Click(TargetAnchorableModel, ClickOptions)
Clica em um modelo ancorado de destino, que representa um elemento de interface gráfica específico no aplicativo.
Click(
TargetAnchorableModel target,
ClickOptions clickOptions)
Click(
TargetAnchorableModel target,
ClickOptions clickOptions)
target TargetAnchorableModel : o modelo ancoável de destino (elemento de interface gráfica) no qual você deseja clicar.
clickOptions ClickOptions : opções adicionais para personalizar a operação de clique:
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode NInteractionMode`:
+ `HardwareEvents` - Simulates the click by
using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode as the
Open or Attach APIs. This is the default selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode NInteractionMode`:
+ `HardwareEvents` - Simulates the click by
using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode as the
Open or Attach APIs. This is the default selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
Click(RuntimeTarget, ClickOptions)
Clica em um elemento de interface gráfica identificado por uma instância de runtime de um elemento do Repositório de Objetos.
Click(
RuntimeTarget target,
ClickOptions clickOptions)
Click(
RuntimeTarget target,
ClickOptions clickOptions)
target RuntimeTarget : o elemento de interface gráfica no qual você deseja clicar, identificado por uma instância de runtime de um elemento do Repositório de objetos.
clickOptions ClickOptions : opções adicionais para personalizar a operação de clique:
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType
NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType
CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode
NInteractionMode`:
+ `HardwareEvents` - Simulates the click
by using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode
as the Open or Attach APIs. This is the default
selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
* `KeyModifiers NKeyModifiers`:
+ `None`
+ `Alt`
+ `Ctrl`
+ `Shift`
+ `Win`
* `ClickType
NClickType`:
+ `Single`
+ `Double`
+ `Down`
+ `Up`
For example, to perform a double click you just need to set
the click type to
`NClickType.Double`:
`clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest,
new ClickOptions(){ClickType =
NClickType.Double}.WithVariable("account_number_system1",
"407547"));`.
* `MouseButton NMouseButton`:
+ `Left`
+ `Right`
+ `Middle`
* `CursorMotionType
CursorMotionType`:
+ `Instant` - The cursor jumps to the
destination.
+ `Smooth` - The cursor moves in
increments.
* `InteractionMode
NInteractionMode`:
+ `HardwareEvents` - Simulates the click
by using the hardware driver. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `SameAsCard` - Use the same input mode
as the Open or Attach APIs. This is the default
selection.
+ `Simulate` - Simulates the click using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. 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/standalone/2023.10/user-guide/chromium-api).
+ `WindowMessages` - Simulates using Win32
messages. Recommended for desktop apps. Usually more
reliable than Hardware Events. Sends all text in one go.
Works even if the target application is not in focus. Before
using this API, please test if your target application UI
element supports this.
Click(String, NClickType, NMouseButton)
Executar uma operação de clique em um elemento de interface gráfica identificado pela representação de string ou seletor, especificando o tipo de clique e o botão do mouse.
Click(
string target,
NClickType clickType,
NMouseButton mouseButton)
Click(
string target,
NClickType clickType,
NMouseButton mouseButton)
target String : indique o elemento de interface gráfica capturado no Repositório de objetos no qual você deseja clicar.
clickType NClickType : o tipo de clique a ser executado: Único, Duplo, Pressionado ou Ao soltar. A opção padrão é Único. : por exemplo, para realizar um clique duplo, você só precisa definir o tipo de clique como NClickType.Double:clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest, new ClickOptions(){ClickType = NClickType.Double}.WithVariable("account_number_system1", "407547"));.
mouseButton NMouseButton : o botão do mouse para clicar com: Esquerda, Meio ou Direita. A opção padrão é Esquerda.
Click(IElementDescriptor, NClickType, NMouseButton)
Clica em um elemento de Interface Gráfica identificado por um descritor de um elemento do Repositório de Objetos, especificando o tipo de clique e o botão do mouse.
Click(
IElementDescriptor elementDescriptor,
NClickType clickType,
NMouseButton mouseButton)
Click(
IElementDescriptor elementDescriptor,
NClickType clickType,
NMouseButton mouseButton)
elementDescriptor IElementDescriptor : o elemento de interface gráfica no qual você deseja clicar, identificado por um descritor de um elemento do Repositório de objetos.
clickType NClickType : o tipo de clique a ser executado: Único, Duplo, Pressionado ou Ao soltar. A opção padrão é Único. : por exemplo, para realizar um clique duplo, você só precisa definir o tipo de clique como NClickType.Double:clientAccountsScreen.Click(Descriptors.ACME_System_3.ClientAccountsScreen.AccountRowTest, new ClickOptions(){ClickType = NClickType.Double}.WithVariable("account_number_system1", "407547"));.
mouseButton NMouseButton : o botão do mouse para clicar com: Esquerda, Meio ou Direita. A opção padrão é Esquerda.