Issues With Chrome Objects Finding Elements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-06-22 05:15 PM
We are on Blue Prism 6.9. We are having issues with our conversion to Chrome for our web apps. We spy elements in browser mode, test the process and everything works fine. But once in place, we find that sometimes the object doesn't find the element on the screen. We can watch and see that element is there, but it can't be found. If we're debugging, it won't highlight. We re-spy it and it will work for that instance, but a few hours or days later it gets the same issue.
My co-workers have found forum discussions about this type of thing being more prevalent with 6.9 that advise that 7.0 is more stable. An upgrade isn't something that can be done quickly.
Does anyone has any techniques to work around this issue while staying on 6.9?
Those of you who have had this issue, have you tried switching to Edge? Does that buy us anything?
Those of you who have upgraded to 7.0 -- what percentage of improvement have you seen?
------------------------------
Tracy Green
Systems Developer III
Federated Insurance
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-06-22 07:33 AM
Hello @Tracy Green,
I' would recommend re-spying the element as a separate item in the application modeller and then comparing the attributes.
Since you're using a web application, it's likely the path, class name or ID may have changed.
Thanks
Saaj
------------------------------
Saaj Kapoor
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-06-22 09:21 AM
If this does turn out to be the issue then you've two choices. Either exclude the offending attribute from the element definition, or change the Match Type to something other than 'Equals' in order to introduce the flexibility capable of working around the variation.
A basic example of this is where the window title of an app is 'Customer System - Mrs J Smith' when you spy it, but you know that you'll be looking at other customer records at run time. So rather than use 'Equals' you choose 'Wildcard' and change the attribute value 'Customer System - *'
------------------------------
John Carter
Professional Services
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-06-22 02:17 PM
Tracy, the only workaround I have found so far (which is not 100% reliable but, in our case, does the trick), is to include recovery logic to shut down/kill chrome in case of the element not being found > try launching chrome again and see if the element is found,
Something like this:
If this still fails, the only solution is to reboot the Resource.
Good luck!
------------------------------
Ramón Requena López
RPA Developer
Magenta Telekom
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-06-22 02:45 PM
Please check the system settings in your Blue Prism and see if the fixed port settings are checked or unchecked.
If there is check means the fixed port is enabled and if its unchecked then it means that the ephemeral port is activated.
I think from BP V6.8 tracking ID was introduced which identifies which the Chrome or Edge browser instances and attach to the target application accordingly.
Tracking ID can be found as an output in the launch Navigate stage which will display kind of GUID value.
You can try passing the Tracking ID in navigate stages to see if that Browser mode is working for you or not.
------------------------------
Saurabh Goswami
RPA Architect
Ericsson
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-06-22 02:52 PM
------------------------------
Tracy Green
Systems Developer III
Federated Insurance
America/Chicago
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-06-22 03:03 PM
If you are going for Win32 mode to close the window then make sure to capture Window Text attribute and use a dynamic wait to check the window and then close the window using close navigate stage.
------------------------------
Saurabh Goswami
RPA Architect
Ericsson
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-06-22 03:35 PM
Please share the error message.
------------------------------
Rohit Srivastava
------------------------------