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

ホバー

UI Automation のコード化されたオートメーション API でホバーする: 指定した UI 要素上でホバーします。

指定した UI 要素上でホバーします。

この API は Open または Attach の後に追加する必要があります。

定義

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

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

オーバー ロード

オーバーロード説明
Hover(IElementDescriptor, Double, CursorMotionType)オブジェクト リポジトリの要素の記述子によって識別される、指定した UI 要素の上にマウスをホバーさせます。同時に、ホバー時間とカーソルの動きの種類を指定します。
Hover(String, Double, CursorMotionType)オブジェクト リポジトリの文字列で識別される指定した UI 要素の上で、ホバー時間とカーソルの動きの種類を指定してマウスをホバーします。
Hover(TargetAnchorableModel, HoverOptions)TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素の上にマウスをホバーさせます。同時に、ホバー操作をカスタマイズします。
Hover(IElementDescriptor, HoverOptions)ホバー操作をカスタマイズする際に、オブジェクト リポジトリの要素の記述子によって識別される指定した UI 要素上でホバーします。
Hover(String, HoverOptions)ホバー操作をカスタマイズする際に、オブジェクト リポジトリの文字列によって識別される指定した UI 要素上でホバーします。
Hover(RuntimeTarget, HoverOptions)ホバー操作をカスタマイズする際に、オブジェクト リポジトリの要素のランタイム インスタンスによって識別される指定した UI 要素上でホバーします。
Hover(TargetAnchorableModel, Double, CursorMotionType)TargetAnchorableModel オブジェクトによって識別される指定した UI 要素の上で、ホバー時間とカーソルの動きの種類を指定してマウスをホバーします。

Hover(IElementDescriptor, Double, CursorMotionType)

オブジェクト リポジトリの要素の記述子によって識別される、指定した UI 要素の上にマウスをホバーさせます。同時に、ホバー時間とカーソルの動きの種類を指定します。

Hover(
    IElementDescriptor elementDescriptor,
    double hoverTime,
    CursorMotionType cursorMotionType)
Hover(
    IElementDescriptor elementDescriptor,
    double hoverTime,
    CursorMotionType cursorMotionType)

elementDescriptor IElementDescriptor: ホバーする UI 要素で、オブジェクト リポジトリにある要素の記述子で識別されます。

hoverTime Double: ターゲット要素上でホバーする秒数です。既定値は 1 秒です。

cursorMotionType CursorMotionType: マウス カーソルにより実行される動きの種類を指定します。次の 2 つの利用可能なオプションがあります。

* **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.

Hover(String, Double, CursorMotionType)

オブジェクト リポジトリの文字列で識別される指定した UI 要素の上で、ホバー時間とカーソルの動きの種類を指定してマウスをホバーします。

Hover(
    string target,
    double hoverTime,
    CursorMotionType cursorMotionType)
Hover(
    string target,
    double hoverTime,
    CursorMotionType cursorMotionType)

target String: ホバーする UI 要素で、オブジェクト リポジトリの文字列で識別されます。

hoverTime Double: ターゲット要素上でホバーする秒数です。既定値は 1 秒です。

cursorMotionType CursorMotionType: マウス カーソルにより実行される動きの種類を指定します。次の 2 つの利用可能なオプションがあります。

* **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.

Hover(TargetAnchorableModel, HoverOptions)

TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素の上にマウスをホバーさせます。同時に、ホバー操作をカスタマイズします。

Hover(
    TargetAnchorableModel target,
    HoverOptions hoverOptions)
Hover(
    TargetAnchorableModel target,
    HoverOptions hoverOptions)

target TargetAnchorableModel: ホバーする UI 要素で、 TargetAnchorableModel オブジェクトで識別されます。

hoverOptions HoverOptions: ホバー アクションをカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.
* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.

Hover(IElementDescriptor, HoverOptions)

ホバー操作をカスタマイズする際に、オブジェクト リポジトリの要素の記述子によって識別される指定した UI 要素上でホバーします。

Hover(
    IElementDescriptor elementDescriptor,
    HoverOptions hoverOptions)
Hover(
    IElementDescriptor elementDescriptor,
    HoverOptions hoverOptions)

elementDescriptor IElementDescriptor: ホバーする UI 要素で、オブジェクト リポジトリにある要素の記述子で識別されます。

hoverOptions HoverOptions: ホバー アクションをカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.
* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.

Hover(String, HoverOptions)

ホバー操作をカスタマイズする際に、オブジェクト リポジトリの文字列によって識別される指定した UI 要素上でホバーします。

Hover(
    string target,
    HoverOptions hoverOptions)
Hover(
    string target,
    HoverOptions hoverOptions)

target String: ホバーする UI 要素で、オブジェクト リポジトリの文字列で識別されます。

hoverOptions HoverOptions: ホバー アクションをカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.
* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.

Hover(RuntimeTarget, HoverOptions)

ホバー操作をカスタマイズする際に、オブジェクト リポジトリの要素のランタイム インスタンスによって識別される指定した UI 要素上でホバーします。

Hover(
    RuntimeTarget target,
    HoverOptions hoverOptions)
Hover(
    RuntimeTarget target,
    HoverOptions hoverOptions)

target RuntimeTarget: ホバーする UI 要素で、オブジェクト リポジトリの要素のランタイム インスタンスによって識別されます。

hoverOptions HoverOptions: ホバー アクションをカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.
* `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).
* `HoverTime` - The number of seconds for which to hover the target element. The default value is 1 second.
* `CursorMotionType` - 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.
* `VerifyOptions` - At runtime, verifies if the action performed by the API was correct. This is done by indicating an element that should appear or disappear after the action is performed, which is monitored and verified after the API is executed.

Hover(TargetAnchorableModel, Double, CursorMotionType)

TargetAnchorableModel オブジェクトによって識別される指定した UI 要素の上で、ホバー時間とカーソルの動きの種類を指定してマウスをホバーします。

Hover(
    TargetAnchorableModel target,
    double hoverTime,
    [CursorMotionType cursorMotionType])
Hover(
    TargetAnchorableModel target,
    double hoverTime,
    [CursorMotionType cursorMotionType])

target TargetAnchorableModel: ホバーする UI 要素で、 TargetAnchorableModel オブジェクトで識別されます。

hoverTime Double: ターゲット要素上でホバーする秒数です。既定値は 1 秒です。

cursorMotionType CursorMotionType: マウス カーソルにより実行される動きの種類を指定します。次の 2 つの利用可能なオプションがあります。

* **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.

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得