I have a task to fill 18 empty rows (BAS to BAS18) with values in Dynamics Empire. However, every time I open a new address on the Dynamics Empire website, the parent ID of the column seems to be dynamic and different. This causes an issue with my ‘type into activity’ because it is unable to select the row whenever I open a new address. Situation:
![dynamics Empire
I recently discovered that the page generates a parent ID that the rows under the header carry with them. I am wondering if there is a way to use this parent ID to select the right BAS row in a reliable way (see: Parentid=‘b249’). Tips and tricks are welcome!
Please see the attached images for a better understanding of the situation.
Use get attribute on the header and get the prent id…then you can use it in the next selector by adding it as a variable and make the selector dynamic…then rest all is same
Thanks for your reply i’m stil stuck I managed to find two column headers using the get attribute activity (column_header_b75t and column_header_b75q).
My strict selector without a variable (column_header_b75t):
Strict selector with a variable(only thing that changed in this selector is my correctly found attribute id):
It says the var is not defined in the current scope.
Type into is still unable to find the ui element because it’s invalid.
@Anil_G
Thanks for your reply, as long as it fills a single row it is doing well. As soon as the next row is made active it crashes. Perhaps the selector in dynamics empire 365 changes when a row is selected?
Yes the count that you are using or something might be changing…would suggest run the bot in debug mode…and keep ui explorer open and when error occurs try finding the difference and use that as your logic to get next item
We finally found the fix this morning: When dealing with Dynamics Empire 365 if you want to fill a row and columns you first need to put a click activity with a strict selector on the line you want to fill. And then put a type into activity with a strict selector on the field you want to fill.