UiPath Documentation
activities
latest
false
UI Automation アクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

タップ

モバイル オートメーションのコード化されたオートメーション API をタップします。 指定した UI 要素が存在するかどうかを示す Boolean 変数を返します。

指定した UI 要素が存在するかどうかを示す Boolean 変数を返します。API には戻り値はありませんが、指定した UI 要素が存在する場合 (Boolean 値)、タップ操作を実行します。

定義

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

オーバー ロード

オーバーロード説明
Tap(IElementDescriptor, TapTypeEnum, MobileOptions.TapOptions)IElementDescriptor UI 要素が存在するかどうかを Boolean 変数として返します。
Tap(ObjectRepositoryTarget, TapTypeEnum, MobileOptions.TapOptions)ObjectRepositoryTarget UI 要素が存在するかどうかを Boolean 変数として返します。
Tap(SelectorTarget, TapTypeEnum, MobileOptions.TapOptions)SelectorTarget UI 要素が存在するかどうかを Boolean 変数として返します。

Tap(IElementDescriptor, TapTypeEnum, MobileOptions.TapOptions)

IElementDescriptor UI 要素が存在するかどうかを Boolean 変数として返します。

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

element: A UI element from the Object Repository that you access using the ObjectRepository.Descriptors class.

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/ja/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 (Opitional): Specifies the tap type. Default value TapTypeEnum.Single. You can choose from the following values:

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

options MobileOptions.TapOptions (Optional): Specifies the MobileOptions.TapOptions for the tap action. Default value is null.

Tap(ObjectRepositoryTarget, TapTypeEnum, MobileOptions.TapOptions)

ObjectRepositoryTarget UI 要素が存在するかどうかを Boolean 変数として返します。

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

objectRepositoryTarget ObjectRepositoryTarget: An object of type ObjectRepositoryTarget.

tapType TapTypeEnum (Opitional): Specifies the tap type. Default value TapTypeEnum.Single. You can choose from the following values:

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

options MobileOptions.TapOptions (Optional): Specifies the MobileOptions.TapOptions for the tap action. Default value is null.

Tap(SelectorTarget, TapTypeEnum, MobileOptions.TapOptions)

SelectorTarget UI 要素が存在するかどうかを Boolean 変数として返します。

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

targetSelector SelectorTarget: An object of SelectorTarget type. Can be constructed using FromSelector(String) method.

tapType TapTypeEnum (Opitional): Specifies the tap type. Default value TapTypeEnum.Single. You can choose from the following values:

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

options MobileOptions.TapOptions (Optional): Specifies the MobileOptions.TapOptions for the tap action. Default value is null.

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得