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.
Run the script on different browsers - Selenium Tutorial
From the course: Robot Framework Test Automation: Level 1 (Selenium)
Run the script on different browsers
Now that we've chosen a library and written our first steps, let's go ahead and run the script and examine the results file. Robot Framework is a command line driven platform, and we can run our scripts either in the PyCharm IDEs terminal tab or we can open up a Windows Command Window and type our command lines in there. In this video, I'm going to focus on the PyCharm IDE, but in future videos, I'll talk about the Windows Command Line as well. The most important thing to know about running Robot Framework scripts, is that you're going to type this robot keyword into your command line, and after that, you'll provide the name of the script that you want to run. And there might also be some kind of a path that precedes the name of your script. By default, the Robot Framework results file will show up in the root of your project directory. If you want to specify where your results log goes, you can add this -d flag to your command line and provide some kind of a path to where you want…
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
-
-
-
-
-
Overview9m 44s
-
(Locked)
Organizing your project files5m 42s
-
(Locked)
Sections of the script file10m 8s
-
(Locked)
Selenium2Library vs. SeleniumLibrary55s
-
(Locked)
Write test steps: Part 118m 5s
-
(Locked)
Run the script on different browsers8m 16s
-
(Locked)
Examine the great results files6m 19s
-
(Locked)
Write test steps: Part 211m 34s
-
(Locked)
Write test steps: Part 319m 28s
-
(Locked)
Summary2m 43s
-
-
-
-
-
-
-
-
-