How will you use Selenium to upload a file ?
Selenium WebDriver Interview question and Answers
(Continued from previous question...)
How will you use Selenium to upload a file ?
You can use “type”command to type in a file input box of upload file. Then, you have to use “Robot” class in JAVA to make file upload work.
(Continued on next question...)
Other Interview Questions
|