Reputation: 882
Choose File
and Input Text
keyword not working in Robot Framework Selenium
What I have tried so far:
Choose File xpath=//div[@id='dZUpload'] E:\\PPM_PDM_29_03_2019.xls
Input Text xpath=//div[@id='dZUpload'] E://PPM_PDM_29_03_2019.xls
I'm using SeleniumLibrary
Browser: chrome
Upvotes: 0
Views: 1051
Reputation: 7441
Selenium's upload file functionality does not work with a <div>
element, it only works with an element that is an <input type="file">
Upvotes: 3