cancel
Showing results for 
Search instead for 
Did you mean: 

Spying a browser among multiple instances

HongJooChoi
Staff
Staff
Dear Community

Can any one explain this regarding spying a browser among multiple instances?

Firstly I spied the whole frame of a browser using Win32 and it is correctly highlighted.
25816.png

Secondly, I manually launched a new browser and now I have two browsers on the screen.
In this case, the Application Modeler highlights the right browser without confusing as was spied.

25817.png

Lastly, this time, I closed all the browsers, manually launched the first browser and then launched another one using the Launch button in the Application Modeler. Now I have two browsers on the screen.
However, this time, it fails to highlight the right browser and the error has been raised.

25818.png

Can any one let me know what makes it wrong and what's happening between the Application Modeler and the browser extensions?


Regards



------------------------------
HongJoo Choi
------------------------------
2 REPLIES 2

Hi Hongjoo,

During your testing at the last instance, can you check once if are able to attach to the correct browser instance using the 'Read Connection' action in a Read Stage and 'Attach' action in a Navigate stage. There is usually a Child Index parameter in the attach action where you can provide the value as '0' so that it correctly attaches to the first available instance.

Secondly, in your attribute selection I would suggest uncheck 'Screen Visible' and 'Visible' parameter and instead check 'Match Index' once and retry again. Ensure that the 'Windows Text' has the correct window name parameter while you are testing the results.

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

Hi, Devneet

I tested further following your guide and the result is same as below:
Would this be a bug at the extension side (i.e., native messaging host) ?

25810.png
At step 2, the result of the read connectivity right after the Launch is "True", which surely means the object is connected to the browser launched by the BP just now.

25811.png

The second browser is spied as below.
I tried with match index by changing it from 1 to 4 but all are same and The below is the version without match index.

25812.png

Regards

------------------------------
HongJoo Choi
------------------------------