子画面の操作について

studioXでTableauを操作する際に主画面からダウンロードボタンを押すと、別ウィンドウでデータ一覧が立ち上がります。そこでデータを保存するボタンを押したいのですが、主画面が数秒後には最前面に出てしまい、データを保存するボタンが押せません。
主画面を 最小化しても 以前のフォーラムにあったアクティブウィンドウを取得をデータ一覧に使っても 別ウィンドウ用のブラウザを使用アクティビティを使っても、主画面が前に出てきてしまいます。何かいい方法はありますでしょうか?

Hi @serow

Use the Use application\browser activity to indicate the window that appearing to save the file. Use that activity and indicate that window inside that activity use the click activity to click on the Save button.

Check the below image for your reference.

In the Properties of Use application\browser activity. Change the below properties.
Close → Always
Open → If not open
Window Attach mode → Single window

Hope it helps!!

1 Like

@serow

Set the window attached mode to single window
image

or
Use go to URL activity
or
You can use a Parallel activity to perform different tasks simultaneously. In this case, one branch of the parallel activity can minimize the main window, while the other interacts with the separate window.
or
Use the “Set Window” activity in UiPath StudioX to explicitly set focus on the separate window before interacting with it. The “Set Window” activity allows you to select the window you want to interact with based on its title or other attributes.

1 Like

@serow

Try adding some delay before you start clicking the save button and also try giving the attach browser activity.

Hope it works !!

1 Like

こんにちは

ボタンをクリックすることが目的であれば、HardwareEvent以外の入力モードを使えば、必ずしも前面にある必要はありません。
適切にウインドウ・セレクターが指定できていればクリックできるかと思いますので、その観点で確認してみてはと思います。

1 Like

Thank you @serow

If you find the solution for your query do mark it as solution it will helpful for others.

Happy Automation!!

みなさま ご教示ありがとうございます。
1つずつ試してみます。お手数おかけしました。

@serow

If you find solution for your query please mark as solution to close the loop.

Happy Automation!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.