How to deal with file uploading in test automation using selenium or webdriver

前端 未结 6 1335
谎友^
谎友^ 2020-12-03 03:09

I think that everybody who uses Webdriver for test automation must be aware of its great advantages for web development.

But there is a huge issue if file uploading i

6条回答
  •  独厮守ぢ
    2020-12-03 03:47

    Just thought I'd provide an FYI to author's original post of using ActiveX. Another workaround would be to integrate with desktop GUI automation tools to do the job. For example, google "Selenium AutoIt". For a more cross-platform solution, consider tools like Sikuli over AutoIt.

    This of course, is not considering WebDriver's support for uploads on IE & Firefox via SendKeys, or considering for other browsers where that method doesn't work.

提交回复
热议问题