cancel
Showing results for 
Search instead for 
Did you mean: 

UI Mode and UIA Automation ID

ManasJena
Level 6
Hi All,

We are working on a web application automation. We used UIA Automation ID and it was working fine. There was a recent change on that Web Application and we don't see UIA Automation ID any more. We used HTML mode and UI mode...but didn't help.

Any workaround for this ? Attcahed are few images to explain it better.

------------------------------
Manas Jena
Sr Analyst
ZimmerBiomet
America/New_York
------------------------------
8 REPLIES 8

LucaValente
Staff
Staff
Hi Manas,

the UIA Automation ID attribute is set equal to the value of the ID attribute in the HTML source. Most likely the ID attribute has been removed from that HTML element in the HTML source when the application has been updated. If it's an internal web application, you can ask the product owner team to add that ID value to the HTML code.


------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------

ChrisEllenburg_
Level 4
Manas, we are running into the same issue. How were you able to resolve this?

------------------------------
Chris Ellenburg
------------------------------

Hi Chris,

Not able to recall the exact fix since it is a while now.You May need to compare your lower and upper environment and do a re-spy to avoid this . Would you share more about the issue you are facing ?


------------------------------
Manas Jena
Sr Analyst
ZimmerBiomet
America/New_York
------------------------------

In one environment we get the UIA Automation ID when spying and in another environment, we do not. Similar to your images you'd posted.

------------------------------
Chris Ellenburg
------------------------------

ChrisEllenburg_
Level 4
Specifically this is happening in Chrome.

------------------------------
Chris Ellenburg
------------------------------

The issue we faced was not specific to a browser. I will suggest to validate the environments and see if you can "Highlight" and "Identify" the element or not.
From there you can proceed.

------------------------------
Manas Jena
Sr Analyst
ZimmerBiomet
America/New_York
------------------------------

UI mode does identify the element when highlighting it, but when we select that element in the new environment it doesn't have any information in the UI Automation Id. This makes it a very generic element and when trying to use that element BP finds multiple elements. We've also tried other attributes but they aren't specific enough to work at finding the element.

------------------------------
Chris Ellenburg
------------------------------

joshua.carter10
Level 2

Were you ever able to resolve your issue?