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

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…

Contents