Spying a browser among multiple instances
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-04-22 02:11 AM
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.

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.

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.

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
------------------------------
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.
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.
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.
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-04-22 07:06 AM
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
----------------------------------
------------------------------
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-04-22 08:02 AM
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) ?

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.

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.

Regards
------------------------------
HongJoo Choi
------------------------------
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) ?
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.
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.
Regards
------------------------------
HongJoo Choi
------------------------------
