Selenium is a widely used test
automation tool especially during web-based apps testing. It comes with a
set of diverse software tools each enabling rich test automations
across different functions of the dynamic web app testing. There are
many advantages of using Selenium, yet there are some snags that may
be addressed with thirty party tools.
File uploads to a HTML5-based web application from local directory system is one such scenario where Selenium is not much of a help. However, this limitation of Selenium can be overcome using a third-party tool called AutoIT which is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.
Here are the 2 steps making it possible:
File uploads to a HTML5-based web application from local directory system is one such scenario where Selenium is not much of a help. However, this limitation of Selenium can be overcome using a third-party tool called AutoIT which is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.
Here are the 2 steps making it possible:
- Creating AutoIT code that uploads file to an application
- Calling this AutoIT code inside Selenium script
Comments
Post a Comment