![]() Send("C:\Users\Saurabh\Desktop\dekstop\Flower1.jpg") Now here, the script will be first, wait for the upload window to get active and then pass the absolute path of the image and then press enter.įor Chrome: Open // Wait till window with title appears Download and install AutoIT tooland its editor.Īfter installing AutoIT tool, open the editor and write the script.Now, to interact with this windows-based UI. ![]() Click camera icon –> Upload an Image –> Browse.Open a browser of your choice (say Google Chrome).Practical Scenario: Uploading an image on google: Let us learn integration of AutoIT tool with a practical scenario. AutoIT is one of the best open-source, easy to use tool available in the market. There are hundred’s of third party tools which are available in the market. In this situation, we have to take help of some third party tool. Selenium WebDriver does not provide any inbuilt functionality to interact with Windows-based UI elements. One of the most common scenarios is while uploading or downloading an image file. While testing any web application, many a time we come across a situation where we have to interact with “Windows-based UI” elements. ![]() In this tutorial, we will learn Integration of AutoIT tool with Selenium WebDriver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |