I am following below link to upload file in the angular UI,
But I am getting “Root cause: org.openqa.selenium.WebDriverException: unknown error: cannot focus element”.
'Passing the path of the file'
WebUI.uploadFile(findTestObject('Page_Drive 2/span_Upload'), 'C:\\\\UploadFile\\\\track.json')
So i am not able to understand this is due to angular or i am doing something wrong. Even i tried with send key but that is also not working.
There is any other way to upload file.
It look like this
So i am not able to understand this is due to angular or i am doing something wrong. Even i tried with send key but that is also not working.
There is any other way to upload file.
It look like this