- 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 CV Server
- Set Runtime Browser
- Set Focus
- Set Project Setting
- 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
Atividades do UIAutomation
Executa uma operação de arrastar e soltar do elemento de interface gráfica de origem para o de destino.
Definição
Namespace: UiPath.UIAutomationNext.API.Models
Assembly: UiPath.UIAutomationNext.API.Models (na dll UiPath.UIAutomationNext.API.Models)
Sobrecarregas
| Sobrecarga | Description |
|---|---|
DragAndDrop(IElementDescriptor, DragAndDropOptions) | Arrasta e solta um elemento de interface gráfica especificado, identificado por um descritor de um elemento do Repositório de Objetos, ao personalizar a ação de arrastar e soltar. |
DragAndDrop(String, DragAndDropOptions) | Arrasta e solta um elemento de interface gráfica especificado, identificado por uma string do Repositório de Objetos, ao personalizar a ação de arrastar e soltar. |
DragAndDrop(IElementDescriptor, TargetAnchorableModel, NKeyModifiers, NMouseButton, CursorMotionType, Boolean, Double) | Arrasta e solta um elemento de IU especificado, identificado por um descritor de um elemento do Repositório de Objetos e pelo objeto TargetAnchorableModel , enquanto especifica os modificadores de teclas, o botão do mouse e o tipo de movimento do cursor que você deseja usar. |
DragAndDrop(String, TargetAnchorableModel, NKeyModifiers, NMouseButton, CursorMotionType, Boolean, Double) | Arrasta e solta um elemento de Interface Gráfica especificado, identificado por uma string do Repositório de Objetos e pelo objeto TargetAnchorableModel , enquanto especifica os modificadores de teclas, o botão do mouse e o tipo de movimento do cursor que você deseja usar. |
DragAndDrop(TargetAnchorableModel, DragAndDropOptions) | Arrasta e solta um elemento de interface gráfica especificado, identificado pelo objeto TargetAnchorableModel , enquanto personaliza a ação de arrastar e soltar. |
DragAndDrop(RuntimeTarget, DragAndDropOptions) | Arrasta e solta um elemento de interface gráfica especificado, identificado por uma instância de runtime de um elemento do Repositório de Objetos, enquanto personaliza a ação de arrastar e soltar. |
DragAndDrop(IElementDescriptor, DragAndDropOptions)
Arrasta e solta um elemento de interface gráfica especificado, identificado por um descritor de um elemento de interface gráfica do Repositório de Objetos, ao personalizar a ação de arrastar e soltar.
DragAndDrop(
IElementDescriptor elementDescriptor,
DragAndDropOptions dragAndDropOptions)
DragAndDrop(
IElementDescriptor elementDescriptor,
DragAndDropOptions dragAndDropOptions)
elementDescriptor IElementDescriptor : o elemento de interface gráfica que você deseja arrastar e soltar, identificado por um descritor de um elemento de interface gráfica do Repositório de objetos.
dragAndDropOptions DragAndDropOptions : opções adicionais para personalizar a operação de arrastar e soltar. Você pode optar por personalizar:
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you
want to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you
want to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
DragAndDrop(String, DragAndDropOptions)
Arrasta e solta um elemento de interface gráfica especificado, identificado por uma string do Repositório de Objetos, ao personalizar a ação de arrastar e soltar.
DragAndDrop(
string target,
DragAndDropOptions dragAndDropOptions)
DragAndDrop(
string target,
DragAndDropOptions dragAndDropOptions)
target String : o elemento de interface gráfica que você deseja arrastar e soltar, identificado por uma string do Repositório de objetos.
dragAndDropOptions DragAndDropOptions : opções adicionais para personalizar a operação de arrastar e soltar. Você pode optar por personalizar:
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you want
to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you want
to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
DragAndDrop(IElementDescriptor, TargetAnchorableModel, NKeyModifiers, NMouseButton, CursorMotionType, Boolean, Double)
Arrasta e solta um elemento de IU especificado, identificado por um descritor de um elemento do Repositório de Objetos e pelo objeto TargetAnchorableModel , enquanto especifica os modificadores de teclas, o botão do mouse e o tipo de movimento do cursor que você deseja usar.
DragAndDrop(
IElementDescriptor elementDescriptor,
TargetAnchorableModel destinationTarget,
[NKeyModifiers? keyModifiers],
[NMouseButton? mouseButton],
[CursorMotionType? cursorMotionType],
[bool? useSourceHover],
[double? delayBetweenActions])
DragAndDrop(
IElementDescriptor elementDescriptor,
TargetAnchorableModel destinationTarget,
[NKeyModifiers? keyModifiers],
[NMouseButton? mouseButton],
[CursorMotionType? cursorMotionType],
[bool? useSourceHover],
[double? delayBetweenActions])
elementDescriptor IElementDescriptor : o elemento de interface gráfica que você deseja arrastar e soltar, identificado por um descritor de um elemento do Repositório de objetos.
destinationTarget TargetAnchorableModel : o local para onde você deseja arrastar e soltar o elemento de interface gráfica.
keyModifiers NKeyModifiers : especifique os modificadores de teclas que você deseja usar durante a operação de arrastar e soltar. As seguintes opções estão disponíveis: None, Alt, Ctrl, Shift e Win.
mouseButton NMouseButton : especifique o botão do mouse que você deseja usar durante a operação de arrastar e soltar. As seguintes opções estão disponíveis: Esquerda, Direita e Meio.
cursorMotionType CursorMotionType : Especifica o tipo de movimento realizado pelo cursor do mouse. Há duas opções disponíveis:
* **Instant** - The cursor jumps to the destination. By default,
**Instant** is selected.
* **Smooth** - The cursor moves gradually towards the
destination.
* **Instant** - The cursor jumps to the destination. By default,
**Instant** is selected.
* **Smooth** - The cursor moves gradually towards the
destination.
useSourceHover Boolean : determina se deve passar o mouse sobre a origem antes de arrastar.
delayBetweenActions Double : Atraso (em segundos) entre as ações necessárias para realizar a operação de arrastar e soltar.
DragAndDrop(String, TargetAnchorableModel, NKeyModifiers, NMouseButton, CursorMotionType, Boolean, Double)
Arrasta e solta um elemento de Interface Gráfica especificado, identificado por uma string do Repositório de Objetos e pelo objeto TargetAnchorableModel , enquanto especifica os modificadores de teclas, o botão do mouse e o tipo de movimento do cursor que você deseja usar.
DragAndDrop(
string target,
TargetAnchorableModel destinationTarget,
[NKeyModifiers? keyModifiers],
[NMouseButton? mouseButton],
[CursorMotionType? cursorMotionType],
[bool? useSourceHover],
[double? delayBetweenActions])
DragAndDrop(
string target,
TargetAnchorableModel destinationTarget,
[NKeyModifiers? keyModifiers],
[NMouseButton? mouseButton],
[CursorMotionType? cursorMotionType],
[bool? useSourceHover],
[double? delayBetweenActions])
target String : o elemento de interface gráfica que você deseja arrastar e soltar, identificado por uma string do Repositório de objetos.
destinationTarget TargetAnchorableModel : o local para onde você deseja arrastar e soltar o elemento de interface gráfica.
keyModifiers NKeyModifiers : especifique os modificadores de teclas que você deseja usar durante a operação de arrastar e soltar. As seguintes opções estão disponíveis: None, Alt, Ctrl, Shift e Win.
mouseButton NMouseButton : especifique o botão do mouse que você deseja usar durante a operação de arrastar e soltar. As seguintes opções estão disponíveis: Esquerda, Direita e Meio.
cursorMotionType CursorMotionType : Especifica o tipo de movimento realizado pelo cursor do mouse. Há duas opções disponíveis:
* **Instant** - The cursor jumps to the destination. By default,
**Instant** is selected.
* **Smooth** - The cursor moves gradually towards the
destination.
* **Instant** - The cursor jumps to the destination. By default,
**Instant** is selected.
* **Smooth** - The cursor moves gradually towards the
destination.
useSourceHover Boolean : determina se deve passar o mouse sobre a origem antes de arrastar.
delayBetweenActions Double : Atraso (em segundos) entre as ações necessárias para realizar a operação de arrastar e soltar.
DragAndDrop(TargetAnchorableModel, DragAndDropOptions)
Arrasta e solta um elemento de interface gráfica especificado, identificado pelo objeto TargetAnchorableModel , enquanto personaliza a ação de arrastar e soltar.
DragAndDrop(
TargetAnchorableModel target,
DragAndDropOptions dragAndDropOptions)
DragAndDrop(
TargetAnchorableModel target,
DragAndDropOptions dragAndDropOptions)
target TargetAnchorableModel : o elemento de interface gráfica que você deseja arrastar e soltar, identificado pelo objeto TargetAnchorableModel .
dragAndDropOptions DragAndDropOptions : opções adicionais para personalizar a operação de arrastar e soltar. Você pode optar por personalizar:
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you want
to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you want
to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
DragAndDrop(RuntimeTarget, DragAndDropOptions)
Arrasta e solta um elemento de interface gráfica especificado, identificado por uma instância de runtime de um elemento do Repositório de Objetos, enquanto personaliza a ação de arrastar e soltar.
DragAndDrop(
RuntimeTarget target,
DragAndDropOptions dragAndDropOptions)
DragAndDrop(
RuntimeTarget target,
DragAndDropOptions dragAndDropOptions)
target RuntimeTarget : o elemento de interface gráfica que você deseja arrastar e soltar, identificado por uma instância de runtime de um elemento do Repositório de objetos.
dragAndDropOptions DragAndDropOptions : opções adicionais para personalizar a operação de arrastar e soltar. Você pode optar por personalizar:
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you want
to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
* `TargetOptions`:
+ **Timeout** - Specifies the amount of time (in
seconds) to wait for the API to run before the
`SelectorNotFoundException` error is
thrown. The default value is 30 seconds.
+ **DelayAfter** - Delay time (in seconds) after
executing the API. The default amount of time is 0.3 seconds
(300 milliseconds).
+ **DelayBefore** - Delay time (in seconds) before the
API begins performing any operations. The default amount of
time is 0.2 seconds (200 milliseconds).
* `TargetAnchorableModel` - The location where you want
to drag and drop the UI element to.
* `NKeyModifiers` - Specify the key modifiers you want
to use during the drag and drop operation. The following options are
available: **None**, **Alt**, **Ctrl**, **Shift**, and
**Win**.
* `NMouseButton` - Specify the mouse button you want to
use during the drag and drop operation. The following options are
available: **Left**, **Right**, and **Middle**.
* `CusorMotionType` - Specifies the type of motion
performed by the mouse cursor. There are two available options:
+ **Instant** - The cursor jumps to the destination. By
default, **Instant** is selected.
+ **Smooth** - The cursor moves gradually towards the
destination.
* `UseSourceHover` - Determines whether to hover
over the source before dragging.
* `DelayBetweenActions` - Delay (in seconds) between
the actions necessary to perform the drag and drop operation.
- Definição
- Sobrecarregas
DragAndDrop(IElementDescriptor, DragAndDropOptions)DragAndDrop(String, DragAndDropOptions)DragAndDrop(IElementDescriptor, TargetAnchorableModel, NKeyModifiers, NMouseButton, CursorMotionType, Boolean, Double)DragAndDrop(String, TargetAnchorableModel, NKeyModifiers, NMouseButton, CursorMotionType, Boolean, Double)DragAndDrop(TargetAnchorableModel, DragAndDropOptions)DragAndDrop(RuntimeTarget, DragAndDropOptions)