cancel
Showing results for 
Search instead for 
Did you mean: 

Browser Spy mode disappeared after attaching a browser application

ZhimingLiu
Level 3
issue: element identification failed, when try to identify again in Application modeller, I found Browser Spy mode disappeared.
reproduce step:
1.mannually lauch a browser-based application
2 run attach to try to attach, and be attached successfully
3 then continute to process, but exception popup that no element be found
4 open Applicaiton Modeller, click "highlight", the target element not be able to identified.
5 click "spy", try to re-identify the element, but i found there is no more"browser spy mode".

May i know why browser spy mode disappear?

------------------------------
Zhiming Liu
------------------------------
4 REPLIES 4

Denis__Dennehy
Level 15
I think what you describe suggests you are maybe not attached to the correct process.  If you look in task manager you will see that there are loads of threads for the browser you are using,  you need to be attached to the correct process for the IE DOM rather than the process for the main boundry window.

There is some advice on this in the Browser Automation Guide.  I would suggest closing down any open browser sessions before you start,   i would also suggest playing with the child index setting in an attach stage,  set it to a different number or add some logic to try all numbers between 0 and 5 until you find the correct process thread to be able to identify elements.

------------------------------
Denis Dennehy
Head of Customer Success, EMEA
Blue Prism Ltd
Europe/London
------------------------------

Hi Denis,

Thanks for your kindly help. It works after i set 0 to child index.

------------------------------
Zhiming Liu
------------------------------

Hi Zhiming,

For Chrome you have to use 0 as child index and 1 for IE.

------------------------------
Nilesh Jadhav
Senior RPA Specialist
ADP
India
------------------------------
Nilesh Jadhav.
Consultant
ADP,India

Hi Nilesh,
Thanks a lot for your sharing

------------------------------
Zhiming Liu
------------------------------