仮想Win10のIEのタブをすべて閉じたい。

こんばんは
UiPath Studio 2024.10 enterprise editionを使い、クラシックデザインアクティビティで、Remote Run Timeはインストールしていない環境で、仮想Win10でIEを操作するプロジェクトを開発しています。
セレクターは使えません。

1.やりたいこと

仮想Win10のIEのタブをすべて閉じたい。

2.悩んでいること

最初「画像をクリックアクティビティ」で、IEタブの右上にある×ボタンを繰り返しクリックさせることで実現を考えましたが、このアプローチでは仮想Win10全体のウインドウの右上の×ボタンを間違えてクリックしてしまうことが分かったので、下記のアプローチを考えました。
これで、目的を達成できるでしょうか?ブラウザーにアタッチ(WindowScope)のセレクターは仮想Win10全体のウインドウを指しています。

Hello @gorby

You could consider using the Process activities.

  1. Read out processes using Get Processes
  2. For Each process
  3. If process = iexplore.exe
  4. Kill Process

Regards
Soren

Hey @SorenB

Thank you for your answer. However, in your workflow, can the IE process inside the virtual window be recognized? I think the wokflow cannot recognize IE Process running inside virtual Window.

–>Finally, I resolved this issue on my own using the following methods.

  1. Use the Send Hotkey activity to issue ALT + F4. ↓
  2. Repeat the above for the number of IE tabs to be closed. ↓
  3. Enclose the entire sequence within a Windows Scope.

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