Search code examples
windowstestingseleniumselenium-rcrobotframework

How to automate interaction with Windows file explorer using Robot Framework?


I am writing robot tests for web testing using Google's Robot Framework with SeleniumLibrary (a test library) , one of my test involves uploading a file from the desktop by clicking on a"Browse" button on the webpage and using the windows file explorer window that pops up to navigate to and select the file ( providing a text path to file is disabled on the website for security reasons.) I have tried digging around but found little on automating this Windows File Explorer action , is there a way I can do this ?


Solution

  • Take a look at the Autoit library. It might let you do what you want.