Hi,
I am trying to automate the loading of personalisations for D365 HR and I am coming across a few issues where controls have dynamic id's which I think is common in D365. I am slowly getting past this. However, I can't seem to click one button on one screen:

I have tried the following:
- Web recorded what I need to happen and seen the button click. When I move this recorded 'click' event to my flow it stops working
- This is the selector:
- html > body > div:eq(1) > div > div:eq(6) > div:eq(1) > div > div:eq(3) > div:eq(1) > div:eq(0) > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(1) > button
- Added the button using the 'Add UI Element'
- This is the selector:
- button[Id="FormRunConfigurationImport_2_DataFileUploadBrowseButton"]
- Changed the selector to use Jquery and the name attribute ( this doesn't seem to be dynamic ) for this button
- This is the selector:
- [name='DataFileUploadBrowseButton']
- Switched between click link and click button with all of the above
- Run javascript:
- $("[name='DataFileUploadBrowseButton']").click();
Nothing seems to work as I am expecting to see a file open dialog appear.
Any thoughts or help would be appreciated.
Sean