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 - Selenium Tutorial
From the course: Robot Framework Test Automation: Level 1 (Selenium)
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Overview1m 23s
-
(Locked)
Robot vs. pybot41s
-
(Locked)
Running from PyCharm1m 41s
-
(Locked)
Running from a command window1m 28s
-
(Locked)
Running from a batch file2m 50s
-
(Locked)
Running from the Task Scheduler3m 30s
-
(Locked)
Running on SauceLabs.com browsers3m
-
(Locked)
Running and scheduling from Jenkins6m 42s
-
(Locked)
Running multiple suites5m 24s
-
(Locked)
Running a single test case5m 23s
-
(Locked)
Advanced run options1m 10s
-
-
-
-
-
-
-
-