Skip to content
Advertisement

upload a file in headless mode for robot framework

I’m writing an automated test in the robot framework and I need help to upload a file in headless mode for the below HTML code using robot framework libraries or some code in python or javascript or ajax.

JavaScript

Advertisement

Answer

You will have to use Robot Framework Selenium library, open browser and navigate to page where you need to upload. Then you can upload with this code snippet

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement