From the course: Robot Framework Test Automation: Level 1 (Selenium)

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Running on SauceLabs.com browsers

Running on SauceLabs.com browsers

In this video, I'm going to show you how to execute your Robot Framework tests on remote browsers at Saucelabs.com. We're going to use a Windows command line window for this. In order to run our tests at Saucelabs.com, I had to modify the script a bit, and what we did is we used variables for the open browser keyword, and I'll be passing in those variables from the command line when we run it. So I've added variable for browser, remote_url, and desired_capabilities. I'm just going to skim over this because the details of how to do this is really beyond the scope of this introduction. If you want to learn more about how to integrate Robot Framework with Saucelabs, be sure to check out my Saucelabs course. Generally, the way we're going to do this is very similar to running with a normal command line. We're going to open the command line Window, CD to the project directory, and we're going to execute the Pybot command, but notice it's going to have a bunch more information in it. It's…

Contents