Handling Dynamic Web elements

Hi All,

I am trying to automate a SAP invoice distribution screen activity. The screens are attached for reference.The values for Company name, Division etc will be read from an excel file. The problems is the element ids are dynamic and there are no identifiers other than the id to uniquely identify the element( ). This prevents the bot from making text entries in the elements using type into or set text. . I have tried using anchor base and find element but with no success.
If anyone has faced similar problems, please share how you managed to solve the issue.Thanks.

Can you provide us a screenshot of the UiExplorer?

2 Likes

I would suggest you could use Computer Vision… It works wonder and can help you with anchor and relative positioning as well!!!

InvEntry1 InvEntry2
Hi Brian, The UiPath screenshots are attached. basically tried ot use find element and use the element id returned in type into element.THanks.

Kindly use the UiPath Explorer so that we can get a unique selector for that element :slight_smile:

2 Likes

Thanks for the suggestion Shubham. How can i get the “Computer Vision” module?Do i download the latest version of Uipath?

1 Like

Tried UiExplorer but unable to get unique selector.

1 Like

Can you show us what you got in UiPath Explorer?

3 Likes

InvEntry3 Only the dynamic id shows up.

Please try to click the Unselected Items in UiPath Explorer:

3 Likes


Un-selected item screenshot is uploaded.

Try to check some of those and see if it will work :slight_smile:

3 Likes

Go to manage package, and search for Computer Vision in Official tab…

In SAP, the selectors change… the best way I would suggest is through anchor selection!!!