Automation Question:
Download Job Interview Questions and Answers PDF
Tell us how will you use Selenium to upload a file?
Answer:
File uploading action could be performed by using element.sendKeys("path of file") on the webElement of input tag and type file: < name="fileUpload" type="file" />
Download Automation Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell us can we find all links on a web page? | Tell me do you know a way to refresh browser by using Selenium? |