microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
515 stars 286 forks source link

Timeline - Create Note - Add Attachment #364

Open drkthng opened 5 years ago

drkthng commented 5 years ago

Hi everyone,

creating a note via Timeline currently only includes setting the title and the body. Is there a good way to also add an attachment with your framework? The usual way to do this with Selenium seems not to work, since there is no element to be found for the upload process. It seems everything is script-based. Wondering if there is an elegant solution without using "AutoIt" or sth along the lines.

(https://github.com/Microsoft/EasyRepro/blob/c23a8ff502225c404ff8c8dff0905027ba01a50f/Microsoft.Dynamics365.UIAutomation.Api.UCI/Elements/Timeline.cs)

thathi commented 4 years ago

@drkthng did you find any other workarounds uploading an attachment?

badarmunirr commented 3 years ago

is there any update on this

badarmunir commented 3 years ago

is there any update on this

IvanRastamanov commented 11 months ago

Hi guys, somebody got the solution or workaround? Standard way is to use .SendKeys("path") method to element which is responsible for attachment, usually it's 'input', but here it is 'div' and this approach doesn't work at all.