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

Tap

Retorna uma variável de booleano que declara se um elemento de interface gráfica especificado existe. A API não tem um valor de retorno, mas se o elemento de interface gráfica especificado existir (valor booleano), então ele executará operações de toque nele.

Definição

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (em UiPath.MobileAutomation.API.dll)

Sobrecarregas

SobrecargaDescription
Tap(IElementDescriptor, TapTypeEnum, MobileOptions.TapOptions)Retorna uma variável de booleano se um elemento de interface gráfica IElementDescriptor existir.
Tap(ObjectRepositoryTarget, TapTypeEnum, MobileOptions.TapOptions)Retorna uma variável de booleano se um elemento de interface gráfica ObjectRepositoryTarget existir.
Tap(SelectorTarget, TapTypeEnum, MobileOptions.TapOptions)Retorna uma variável de booleano se um elemento de interface gráfica SelectorTarget existir.

Tap(IElementDescriptor, TapTypeEnum, MobileOptions.TapOptions)

Retorna uma variável de booleano se um elemento de interface gráfica IElementDescriptor existir.

Tap(
	    IElementDescriptor element,
	    TapTypeEnum tapType = TapTypeEnum.Single,
	    MobileOptions. TapOptions options = null
)
Tap(
	    IElementDescriptor element,
	    TapTypeEnum tapType = TapTypeEnum.Single,
	    MobileOptions. TapOptions options = null
)

element : um elemento de interface gráfica do Repositório de objetos que você acessa usando a classe ObjectRepository.Descriptors .

Visit [Using objects in coded automations with
Mobile Automation](https://docs.uipath.com/studio/standalone/2024.4/user-guide/creating-an-object-repository#using-objects-in-coded-automations-with-mobile-automation) to learn how to use Object Repository elements
with mobile automation.
Visit [Using objects in coded automations with
Mobile Automation](https://docs.uipath.com/pt-BR/studio/standalone/2024.4/user-guide/creating-an-object-repository#using-objects-in-coded-automations-with-mobile-automation) to learn how to use Object Repository elements
with mobile automation.

tapType TapTypeEnum (Opicional) : especifica o tipo de toque. Valor padrão TapTypeEnum.Single. Você pode escolher entre os seguintes valores:

* `Single`
* `Double`
* `LongPress`
* `Single`
* `Double`
* `LongPress`

options MobileOptions.TapOptions (Opcional) : especifica o MobileOptions.TapOptions para a ação de toque. O valor padrão é nulo.

Tap(ObjectRepositoryTarget, TapTypeEnum, MobileOptions.TapOptions)

Retorna uma variável de booleano se um elemento de interface gráfica ObjectRepositoryTarget existir.

Tap(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    TapTypeEnum tapType = TapTypeEnum.Single,
	    MobileOptions. TapOptions options = null
)
Tap(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    TapTypeEnum tapType = TapTypeEnum.Single,
	    MobileOptions. TapOptions options = null
)

objectRepositoryTarget ObjectRepositoryTarget : um objeto do tipo ObjectRepositoryTarget.

tapType TapTypeEnum (Opicional) : especifica o tipo de toque. Valor padrão TapTypeEnum.Single. Você pode escolher entre os seguintes valores:

* `Single`
* `Double`
* `LongPress`
* `Single`
* `Double`
* `LongPress`

options MobileOptions.TapOptions (Opcional) : especifica o MobileOptions.TapOptions para a ação de toque. O valor padrão é nulo.

Tap(SelectorTarget, TapTypeEnum, MobileOptions.TapOptions)

Retorna uma variável de booleano se um elemento de interface gráfica SelectorTarget existir.

Tap(
	    SelectorTarget targetSelector,
	    TapTypeEnum tapType = TapTypeEnum.Single,
	    MobileOptions. TapOptions options = null
)
Tap(
	    SelectorTarget targetSelector,
	    TapTypeEnum tapType = TapTypeEnum.Single,
	    MobileOptions. TapOptions options = null
)

targetSelector SelectorTarget : um objeto do tipo SelectorTarget . Pode ser construída usando o método FromSelector(String) .

tapType TapTypeEnum (Opicional) : especifica o tipo de toque. Valor padrão TapTypeEnum.Single. Você pode escolher entre os seguintes valores:

* `Single`
* `Double`
* `LongPress`
* `Single`
* `Double`
* `LongPress`

options MobileOptions.TapOptions (Opcional) : especifica o MobileOptions.TapOptions para a ação de toque. O valor padrão é nulo.

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