Cannot attach to pop-up browser window with URL

Hello,
Newbie here.

I am building a sequence were clicking on a button can bring up 2 possible windows to enter a note. One scenario opens a small built-in window where the main browser goes out of focus.
This work fine.
The other scenario opens a browser pop-up window with its own URL.
Any time I tried to interact with this window, it kept going to the background and was not visible.
Upon further testing and experimenting, it looks to me that any time I try to interact with it, it actually want to interact with the main browser, therefore the main browser come in the front.
I tried:
Check App State
Find Element
Attach browser
Attach Window
IF activity

Only Find Element seems to find something and report True or False, but any activity on the window after that either pushes in the background or opens another window with the URL but not sure it is related to the specific step in the process. I noticed in UI Explorer a tag for htmlwindowname which has a string containing among other things a date and time stamp.
Tried to use that to isolate the window, but to no avail.
I am using Studio 2023.10 and the dependencies have been updated.

Any help would be greatly appreciated.
Thank you in advance.

First off, you should be working in modern. The classic Attach Browser etc are inferior to the new stuff.

In general, you need a Use Application/Browser activity to attach to the newly opened window, with the activities inside it to perform the steps in that window.

Paul,

My apologies. I wrote “Attach Browser” when I meant “Use Application/Browser” modern activity.
In troubleshooting, I used Attach Window and Element Exist from the classic activities, but in the end the issue persists.

Thank you.

HI @sal.g

→ Use Application/Browser activity to attach to the newly opened window, with in that use check app state activity inside it to perform the steps in that window.

→ And check the input mode properties of the use application browser try with different input mode from dropdown
=> Chromium or simulate

Thank you

Yogeesh,

Thank you, I will try that and post the outcome early next week.

Thanks again.

Yogeesh,

This work-around did not help either, but at this point we made the decision to change the workflow/configuration of the LOB application so that the note box comes up in the preferred way.

Thank you all for the advice.

1 Like

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