My problem is the activity keeps stalling with the error “could not find the UI element” at two of my data inputs, last name or MRN. These are configured with the same criteria as for First name, Date of birth & Gender. I am confused why this may be the case. I have included my activities inside an “attach chrome browser activity”
The behavior is reproducible in two projects.
My process is summarised in the following steps:
attach Chrome browser
Import CSV
create data table
For each row in CSV
type into “highlighted field” Row(“Data field”).ToString
Where necessary I have used hotkeys to select from a menu. The described behavior seems independent of the use of hotkeys
That id seems to be static. Run UiPath in debug mode and when you encounter the error “Could not find the UI element”, stop. Repair the selector and compare the new id with the old id to see a how it differ. That’s how you can detect which part of the id is dynamic and which is static.
E.g. if the old id='headbar_nav_patients' and the new id='headbar2_nav_patients' then you need to replace the part that changes with a wild card, e.g. id='headbar*_nav_patients'