22-04-24 08:21 AM
Dear Expert,
Since we have upgraded BP 7.2 release, we are encountering the spying issue with Ui Elements.
After Launching the Edge Browser BOT unable to recognize the Ui Element; however, it can identify the elements after reloading/refreshing the browser. that mean no issues with code only with some application properties.
Any idea about this problem and any suggestions on this please.
Answered! Go to Answer.
23-04-24 02:01 PM
@mradul.agrawal - We have similar issue where we spied say username password in browser mode and 8/10 time it works fine. then we noticed that in 2/10 occasion, browser mode was not activated and failing.
so after launching the website, we spied refresh button in UIA mode and as soon as URL load, we load the web site and it was making the browser mode works which initially was not working. so that saves our effort in spying all further element in UIA mode and rest all element which are spied in browser mode also works.
23-04-24 08:12 AM
Hi @mradul.agrawal ,
Combination of any of the above properties should be good to go, also ensure that your screen is active while these elements are being triggered on the screen.
Thanks
23-04-24 09:42 AM
Hi Shreya,
Thanks for your response,
I have already tried 'Browser' mode first for all the elements; however, there is another issue I have noticed that I can spy any elements in Browser Mode but, running through debug or full mode it can't verify the spied elements with Browser mode; that's the reason I have had to choose the Ui Modes.
Considering the Ui Stable Elements; I am only selecting these 5 only and they are working well but Ui Mode is not working at all unless I refresh or Reload the Browser.
I have tried using the possible method. ie. Send Keys, Events, Using Focus and keyboad strokes but its not stable.
Note - 1 -The application is Java Enabled for which I have already enabled the BP settings in control room.
2 - I can't see the HTML mode in available spying modes with BP V7.2
Any other suggestions/solutions or method to use Browser or Ui Elements, will be welcome .
Thanks
Mradul Agrawal
RPA Tech Lead, Gurgaon.
23-04-24 02:01 PM
@mradul.agrawal - We have similar issue where we spied say username password in browser mode and 8/10 time it works fine. then we noticed that in 2/10 occasion, browser mode was not activated and failing.
so after launching the website, we spied refresh button in UIA mode and as soon as URL load, we load the web site and it was making the browser mode works which initially was not working. so that saves our effort in spying all further element in UIA mode and rest all element which are spied in browser mode also works.
23-04-24 04:12 PM
Hey Neel,
Thanks for recommending the solutions, I am using the same way to activate the browser (Refresh or Relaunch). This way sometime its working sometimes it's failing.
I will try to use 'Multiple Reties' to refresh the browser and will implement this in code.
If you find any other stable solution which may help, can be of great help.
Thanks
Mradul