UiPath Documentation
studiox
2024.10
true
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

StudioX user guide

最終更新日時 2026年4月30日

ターゲットを指定する

ほとんどの場合、ターゲットを定義するために必要な操作は、画面上でそれをポイントし、クリックするだけです。ターゲットおよび適切なアンカーの識別に必要なメソッドが検出され、そのプロパティが自動的に生成されます。

ターゲットを指定するには

  1. Click Indicate target on screen inside an application/web activity. The target selection mode is opened. As you start moving the mouse, all the recognized UI elements are highlighted. The Selection Options window appears on the screen with information about the target identification status and additional options.

  2. マウス ポインターを目的の要素上に置き、要素が強調表示されていることを確認してクリックします。

    • 識別されたターゲット要素は緑色で強調表示されます。
      • アンカーも自動的に選択された場合、これは青色で強調表示されます。
      • アンカーが自動的に選択されなかった場合は、ターゲットの識別に役立つ隣接する要素 (ラベル、タイトルなど) をクリックして、アンカーとして追加できます。
      • To add an additional anchor, hover the target element, select Add Anchor ドキュメントの画像 in the hover menu, and then click the element to add as anchor.
    • 画面上に類似する他の要素があまりにも多く存在するためにターゲットが識別されなかった場合、ターゲット要素は赤く強調表示され、類似の要素は重複であることを示す黄色で強調表示されます。画面上の別の要素をクリックして、アンカーとして追加します。
      • 選択が有効な場合は、ターゲットとアンカーがそれぞれ緑色と青色で強調表示されます。
      • If the target and anchor are highlighted in red, the selection is still invalid. Hover the element you indicated as target and click Add Anchor ドキュメントの画像 in the hover menu to add a second anchor. Repeat this to add a third anchor if necessary.
  3. To complete the target identification, click Confirm in the Selection Options window. You can also confirm by clicking docs image in the target hover menu or by pressing Enter on your keyboard. The target is configured and the activity displays a screenshot of the target and any anchors that were added.

    ドキュメントの画像

[選択オプション] ウィンドウで追加のオプションを利用して、要素を指定できます。

  • If an element is not visible on your screen or the application is not in the correct state, you can press F2 on your keyboard to pause element selection while you set the application to the correct state. This is useful for elements that require an additional action to appear on screen, or disappear easily from it. For example, if you want to indicate specific elements in drop-down or hover menus, you can pause selection while you click the drop-down or move the mouse pointer on the hover menu to activate them.

  • 画像選択モードに切り替えます。キーボードの F3 キーを押して、画像ベースの識別のみに変更します。次にマウスを使用して、ターゲットまたはアンカーとして使用する可視領域をアプリケーション ウィンドウから選択します。

  • UI フレームワークを変更します。既定では、対象のアプリケーション ウィンドウへのアクセスに独自のフレームワークが使用されます。ターゲットが検出されない場合は、キーボードの F4 キーを押してフレームワークの変更をお試しください。古いアプリケーション用の AA (Active Accessibility) を選択するか、新しいアプリケーション用の UIA (Microsoft UI Automation) を選択します。ターゲットを選択すると、UI フレームワークを変更するオプションは使用できなくなります。

    ドキュメントの画像

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得