{"id":112309,"date":"2020-01-04T09:31:13","date_gmt":"2020-01-04T09:31:13","guid":{"rendered":"https:\/\/www.softwaretestinghelp.com\/?page_id=112309"},"modified":"2025-04-01T08:28:09","modified_gmt":"2025-04-01T08:28:09","slug":"robot-framework-tutorial","status":"publish","type":"page","link":"https:\/\/www.softwaretestinghelp.com\/robot-framework-tutorial\/","title":{"rendered":"Robot Framework Tutorial &#8211; Features And Software Installation"},"content":{"rendered":"<p><strong>This Tutorial Explains What is Robot Framework Along with its Pros, Cons, Important Features and Installation Instructions:<\/strong><\/p>\n<p>Robot Framework is an open-source Test Automation framework. It was initially developed by Nokia Networks, however, it is now maintained by the Robot Framework Foundation.<\/p>\n<p>You will learn about the features, pros, and cons of the Framework along with instructions to install the needed software.<\/p>\n<p><em><strong> <\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Robot-Framework-\u2013-Brief-Introduction.png\"><img decoding=\"async\" class=\"alignnone wp-image-112334 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Robot-Framework-\u2013-Brief-Introduction.png\" alt=\"Robot Framework Tutorial\" width=\"650\" height=\"366\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Robot-Framework-\u2013-Brief-Introduction.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Robot-Framework-\u2013-Brief-Introduction-300x169.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p><span style=\"color: #ff6600;\"><strong>List Of The Tutorials In This Robot Framework Series<\/strong><\/span><\/p>\n<p><strong>Tutorial #1:<\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/robot-framework-tutorial\/\">Robot Framework &#8211; Features And Software Installation<\/a> (This Tutorial)<br \/>\n<strong>Tutorial #2:<\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/getting-started-with-robot-framework-ride\/\">Getting Started With RIDE \u2013 Robot Framework IDE<\/a><br \/>\n<strong>Tutorial #3: <\/strong><a href=\"https:\/\/www.softwaretestinghelp.com\/working-with-robot-framework\/\">Understanding And Working With Robot Framework<\/a><\/p>\n<hr \/>\n<h2>What Is The Robot Framework?<\/h2>\n<p>Official Website: <a href=\"http:\/\/robotframework.org\/\" target=\"_blank\" rel=\"noopener nofollow\">RobotFramework<\/a><\/p>\n<p>Robot Framework is a Test Automation tool in which the test cases are written using keywords that makes it easy to learn and use.<\/p>\n<p>These keywords are written in a tabular form. With Robot Framework, the Test Scripts are replaced by a few keywords thereby replacing the need for large pieces of code.<\/p>\n<p>Let us understand the keyword-driven approach of this Framework with a simple example.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Example:<\/strong><\/span> Suppose, I want to test a website say Google.com, for which the very first step would be to open a Browser and open the \u2018Google.com\u2019 webpage. Now to automate this step using Robot Framework, we have a keyword called \u201cOpen Browser\u201d.<\/p>\n<p><strong>The script for this step would look as shown below:<\/strong><\/p>\n\n<div id=\"tablepress-1061-scroll-wrapper\" class=\"tablepress-scroll-wrapper\">\n<table id=\"tablepress-1061\" class=\"tablepress tablepress-id-1061 tablepress-responsive\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Open Browser<\/th><th class=\"column-2\">Google.com<\/th><th class=\"column-3\">Chrome<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<\/tbody>\n<\/table>\n<\/div>\n<!-- #tablepress-1061 from cache -->\n<p><em><strong>Do you agree that this code looks quite simple?<\/strong><\/em><\/p>\n<p>I am sure, your answer would be \u2018yes\u2019. This simplicity makes it easy to learn and use the tool. We have pre-defined Keywords and Libraries that can be used. Just by knowing these available keywords, we can automate our test cases and greatly reduce our testing efforts.<\/p>\n<p>You must be wondering about the language in which the Framework is written. It has been written using the Python programming language. Hence, to install Robot Framework it is necessary to have Python installed in your system. There are also a few other sets of software that are required to use this Framework.<\/p>\n<p>We will see more about this as we proceed further with this tutorial. Robot Framework provides good support for External Libraries as well as Functions. The most popular library used with the Framework is the Selenium Library that is used for web development &amp; UI testing.<\/p>\n<p>With this brief understanding of what Robot Framework is, let us take a look at the other features of this Framework.<\/p>\n<h3><span style=\"color: #ff6600;\">Features Of Robot Framework<\/span><\/h3>\n<p><strong>Enlisted below are the main features of the Robot Framework:<\/strong><\/p>\n<ul>\n<li>Robot Framework is used for Acceptance Testing and Acceptance Test-driven development.<\/li>\n<li>The Framework uses the keyword-driven approach where small understandable words (either pre-defined or user-defined) are used for writing scripts.<\/li>\n<li>It supports Test Automation for different data sets thereby supporting data-driven testing.<\/li>\n<li>It shuns the use of large code and follows a behavior-driven testing approach.<\/li>\n<li>Test cases are written using keyword (pre-defined or user-defined) in a tabular format.<\/li>\n<li>Users have the option of creating their keywords.<\/li>\n<li>It supports the use of Variables.<\/li>\n<li>It can interact with third-party libraries and functions.<\/li>\n<li>It allows tagging of test cases that come handy while trying to run either of the Smoke Test Cases, Regression Test Cases, System Test Cases, etc.<\/li>\n<li>It provides detailed reports and logs of the execution status which is very helpful in case of failure of the script.<\/li>\n<li>The reports and logs are generated after every build execution.<\/li>\n<\/ul>\n<h3><span style=\"color: #ff6600;\">Pros &amp; Cons Of Robot Framework\u00a0<\/span><\/h3>\n<p><strong>Advantages:<\/strong><\/p>\n<p><strong>Some of the advantages that contribute to the popularity of this Framework are:<\/strong><\/p>\n<ul>\n<li>Being open-source, it is readily available for use by everyone.<\/li>\n<li>Its capability gets extended by the use of External Libraries and Functions.<\/li>\n<li>Besides the available Library Keywords, high-level keywords can also be created by the user which further enhances its use.<\/li>\n<li>As Robot Framework does not require the user to write a complicated piece of code, it is easy to learn and use the tool.<\/li>\n<\/ul>\n<p><strong>Disadvantages:<\/strong><\/p>\n<p>The most likely disadvantage of using this Test Automation Framework is that it does not allow nested loops and thus it comes as a constraint to test complex scenarios where multilevel looping is to be used.<\/p>\n<p>With this basic idea of this Framework, let us move ahead to the next topic which will help you set up your system to use Robot Framework. We would now be going ahead with the understanding and installation of various software that is required to use the Framework.<\/p>\n<p><em><strong>Let\u2019s get going!<\/strong><\/em><\/p>\n<h2>Robot Framework \u2013 Installation Instructions<\/h2>\n<p>A couple of Software are required when it comes to using the Robot Framework.<\/p>\n<p>The following software are required for us to be able to use the Framework.<\/p>\n<ol>\n<li>Python<\/li>\n<li>Pip<\/li>\n<li>Robot Framework<\/li>\n<li>WxPython<\/li>\n<li>Ride<\/li>\n<\/ol>\n<p>Let us now quickly go with the installation of the first software \u2018Python\u2019 followed by the rest as mentioned above.<\/p>\n<h3><span style=\"color: #ff6600;\">#1) Python Installation<\/span><\/h3>\n<p>Robot Framework has been written using the Python programming language. It also supports <a href=\"http:\/\/jython.org\/\" target=\"_blank\" rel=\"noopener nofollow\">Jython <\/a>as well as\u00a0<a href=\"http:\/\/ironpython.net\/\" target=\"_blank\" rel=\"noopener nofollow\">IronPython<\/a>. Thus, to work with the Framework, it becomes mandatory to have Python installed on our system. Let&#8217;s begin the software installation process by installing Python.<\/p>\n<p>In case you are unsure if Python is already installed on your system, use the command below at the command prompt and press \u2018Enter\u2019.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python_Version.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112338\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python_Version.png\" alt=\"Python_Version\" width=\"200\" height=\"30\" \/><\/a><\/p>\n<p>If Python is already installed on your system, then the Python version will be displayed and what you see at the command would be similar to the below.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python_Version2.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112339\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python_Version2.png\" alt=\"Python_Version2\" width=\"200\" height=\"54\" \/><\/a><\/p>\n<p>However, if Python is not installed then the below message will be shown.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Message.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112340\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Message.png\" alt=\"Python Message\" width=\"740\" height=\"66\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Message.png 740w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Message-300x27.png 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p><strong>Follow the below steps to download Python:<\/strong><\/p>\n<p>#1) Open this <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noopener nofollow\">link<\/a> in the browser. You will be able to see the latest version available for download. Press the button <strong>\u201cDownload Python 3.8.0\u201d<\/strong> as shown in the snapshot below.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Download.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112341\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Download.png\" alt=\"Python Download\" width=\"740\" height=\"328\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Download.png 740w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Download-300x133.png 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p>#2) However if you wish to download the desired version scroll down below and you will see a section listed with all the releases. You can select and download the desired release by selecting the \u2018Download\u2019 option against the respective release. We have demonstrated for version 2.7.14 below.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Releases.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112342\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Releases.png\" alt=\"Python Releases\" width=\"740\" height=\"388\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Releases.png 740w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python-Releases-300x157.png 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p>#3) Select the <strong>MSI installer<\/strong> as per the system specifications. Here, we are selecting for 64- bit Windows Operating System.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Files.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112343\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Files.png\" alt=\"Files\" width=\"740\" height=\"265\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Files.png 740w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Files-300x107.png 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p>#4) Make the selection as highlighted in the below screen and choose<strong> \u2018NEXT\u2019<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Install-for-All-Users.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112346\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Install-for-All-Users.png\" alt=\"Install for All Users\" width=\"650\" height=\"553\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Install-for-All-Users.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Install-for-All-Users-300x255.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#5) Select the folder where you wish to download and click <strong>\u2018NEXT\u2019<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Select-Destination-Directory.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112348\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Select-Destination-Directory.png\" alt=\"Select Destination Directory\" width=\"650\" height=\"563\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Select-Destination-Directory.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Select-Destination-Directory-300x260.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#6) Select<strong> \u2018Next\u2019<\/strong> on the next two screens and you will see the below screen where the installation begins.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/PythonSetUp.png\"><img decoding=\"async\" class=\"alignnone wp-image-112380 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/PythonSetUp.png\" alt=\"Python SetUp\" width=\"652\" height=\"334\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/PythonSetUp.png 652w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/PythonSetUp-300x154.png 300w\" sizes=\"(max-width: 652px) 100vw, 652px\" \/><\/a><\/p>\n<p>#7) Wait for the above installation to get completed and then select <strong>FINISH<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112350\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation.png\" alt=\"WxPython Complete Installation\" width=\"650\" height=\"494\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation-300x228.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Starting from Python 2.7.9, the standard Windows installer by default installs and activates Pip. So, once you download Python, Pip also gets downloaded along with it. Remember, Pip is the install Manager for Python.<\/p>\n<p>Now Python27 folder should be created in the C drive (as in this case). Execute the below commands to check the version of Python and Pip that have just installed.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python_Version-1.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112351\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Python_Version-1.png\" alt=\"Python_Version\" width=\"200\" height=\"30\" \/><\/a><\/p>\n<p>And<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Pipe_version.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112352\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Pipe_version.png\" alt=\"Pipe_version\" width=\"200\" height=\"31\" \/><\/a><\/p>\n<p><strong>Setting Up Environment Variables For Python<\/strong><\/p>\n<p>After installing Python on the system, the environment variables need to be set for the same. To do this, first make a note of the exact path where Python is installed on your System (\u2018C:\\Python27\u2019 in our case below).<\/p>\n<p>Before we see how the Environment variables are set, let us understand the need for setting it up. Environment variables are the system variables that are globally accessible by all the processes on the system. These variables store the path of the executable programs and using the defined path the Operating system can access the program(s).<\/p>\n<p><strong>Let us follow the below steps to set the environment variables.<\/strong><\/p>\n<ul>\n<li><strong>My Computer (Right-click) =&gt; Properties =&gt; Advanced System Settings=&gt; Environment Variables<\/strong><\/li>\n<\/ul>\n<p>This would open the below pop up window to set the Environment Variables.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/System-Properties_Environment-Variable.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112355\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/System-Properties_Environment-Variable.png\" alt=\"System Properties_Environment Variable\" width=\"500\" height=\"575\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/System-Properties_Environment-Variable.png 500w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/System-Properties_Environment-Variable-261x300.png 261w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Select <strong>\u2018Path\u2019<\/strong> System variable and append the paths where python is installed as well as the path for its scripts folder separated by a semi-colon (;) along with the existing path values.<\/p>\n<p><strong>In our case it is the Paths mentioned below:<\/strong><\/p>\n<p><strong>C:\\Python27<\/strong><\/p>\n<p><strong>C:\\Python27\\Scripts<\/strong><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Path.png\"><img decoding=\"async\" class=\"alignnone wp-image-112360 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Path.png\" alt=\"Python - Path\" width=\"502\" height=\"613\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Path.png 502w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Path-246x300.png 246w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/VariableValue.png\"><img decoding=\"async\" class=\"alignnone wp-image-112361 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/VariableValue.png\" alt=\"Variable Value\" width=\"500\" height=\"207\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/VariableValue.png 500w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/VariableValue-300x124.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<ul>\n<li>After appending both the paths, click \u2018OK\u2019 to close the <strong>\u2018Edit System Variable\u2019<\/strong> pop up.<\/li>\n<li>Click \u2018OK\u2019 to close the <strong>\u2018Environment Variables\u2019<\/strong> window.<\/li>\n<li>Finally, click \u2018OK\u2019 to close the <strong>\u2018System Properties\u2019<\/strong> window.<\/li>\n<\/ul>\n<h3><span style=\"color: #ff6600;\">#2) Installing Pip<\/span><\/h3>\n<p>As stated above in \u2018Python installation\u2019 Pip gets installed automatically along with Python (from Python version 2.7.9 and above). Thus, there would be no need for downloading it separately.<\/p>\n<p>What is Pip\u2019? As already mentioned,\u2018Pip\u2019 is the install Manager for the Robot Framework. This means that if we have Pip on our system, we can install the Robot Framework using it. Installing the Framework using Pip is the recommended option.<\/p>\n<p>In our next topic, we will see how we can use \u2018Pip\u2019 to install Robot Framework.<\/p>\n<h3><span style=\"color: #ff6600;\">#3) Installing Robot Framework<\/span><\/h3>\n<p>We will now use pip to install the Robot Framework. Type the below command in the command prompt to install the Framework.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/RobotFramework-install.png\"><img decoding=\"async\" class=\"alignnone wp-image-112362 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/RobotFramework-install.png\" alt=\"Install Robot Framework\" width=\"250\" height=\"27\" \/><\/a><\/p>\n<p>After the installation gets completed, you can check the version of the Framework that has been installed using the command below.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/RobotFramework-version.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112363\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/RobotFramework-version.png\" alt=\"RobotFramework version\" width=\"200\" height=\"31\" \/><\/a><\/p>\n<h3><span style=\"color: #ff6600;\">#4) Installing wxPython<\/span><\/h3>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112364\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython.png\" alt=\"WxPython\" width=\"249\" height=\"186\" \/><\/a><\/p>\n<p>Let us now download and install WxPython. WxPython is needed to use Ride which is a UI for Robot Framework.<\/p>\n<p>Ensure to install WxPython for the same bit version (32 bit or 64 bit) for which Python was installed. Please follow the steps listed below-<\/p>\n<p>#1) Open the <a href=\"https:\/\/sourceforge.net\/projects\/wxpython\/files\/wxPython\/\" target=\"_blank\" rel=\"noopener nofollow\">URL<\/a> in a browser and scroll down to view all the available versions.<\/p>\n<p>Click the folder version of WxPython that you wish to download. Version 2.8.12.1 is selected below.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2020\/01\/WxPython-Image.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-115352\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2020\/01\/WxPython-Image.jpg\" alt=\"WxPython Image\" width=\"740\" height=\"498\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2020\/01\/WxPython-Image.jpg 740w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2020\/01\/WxPython-Image-300x202.jpg 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p>#2) Now as per your system specification, select the file to be downloaded for the selected WxPython version. In our case it is a 64-bit Operating system, hence we are selecting the first file highlighted below.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Version.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112366\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Version.png\" alt=\"WxPython Version\" width=\"650\" height=\"491\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Version.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Version-300x227.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#3) Once downloaded, open the Downloads folder on your system and run the .msifile to install WxPython.<\/p>\n<p>#4) Run the wizard below and click <strong>\u2018Next\u2019<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Installation.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112367\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Installation.png\" alt=\"WxPython Installation\" width=\"650\" height=\"486\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Installation.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Installation-300x224.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#5) Click the radio button <strong>\u201cI accept the agreement\u201d<\/strong> and select <strong>\u2018Next\u2019<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Licence-Agreement.png\"><img decoding=\"async\" class=\"alignnone wp-image-112368 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Licence-Agreement.png\" alt=\"Accept WxPython Licence Agreement\" width=\"650\" height=\"484\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Licence-Agreement.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Licence-Agreement-300x223.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#6) Select <strong>\u2018Next\u2019<\/strong> if the location displayed is where you want the installation to take place. Else, browse to the desired location and select <strong>\u2018Next\u2019<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Destination-folder.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112370\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Destination-folder.png\" alt=\"WxPython Select Destination folder\" width=\"650\" height=\"321\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Destination-folder.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Destination-folder-300x148.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#7) Select <strong>\u2018Next\u2019<\/strong> again.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Components.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112369\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Components.png\" alt=\"WxPython Select Components\" width=\"650\" height=\"358\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Components.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Select-Components-300x165.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#8) The installation process will begin and just wait till it is 100% complete.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Extracting-files.png\"><img decoding=\"async\" class=\"alignnone wp-image-112372 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Extracting-files.png\" alt=\"WxPython Installation in Process\" width=\"650\" height=\"280\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Extracting-files.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Extracting-files-300x129.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>#9) Now select <strong>\u2018Finish\u2019<\/strong> to close the installation wizard.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation-1.png\"><img decoding=\"async\" class=\"alignnone wp-image-112373 size-full\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation-1.png\" alt=\"WxPython Installation Completed\" width=\"650\" height=\"494\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation-1.png 650w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/WxPython-Complete-Installation-1-300x228.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>Ones the installation process gets completed, the same can be rechecked by opening the <strong>Control Panel =&gt; Add\/Remove programs<\/strong> and confirm the presence of Python and WxPython.<\/p>\n<h3><span style=\"color: #ff6600;\">#5) Installing RIDE <\/span><\/h3>\n<p>The last step in using the Framework is to install RIDE, which is the IDE for writing scripts in Robot Framework.\u2018IDE\u2019 stands for Integrated Development Environment.<\/p>\n<p>As the name itself suggests, an Integrated Development Environment is an application that provides an environment for coding and scriptwriting which includes an editor, a compiler\/interpreter, a debugger, and maybe an automated build management tool as well. RIDE would be our IDE, to automate our tests using the Robot Framework.<\/p>\n<p>To install RIDE, execute the below command on the command prompt.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Install-RIDE.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112374\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Install-RIDE.png\" alt=\"Install RIDE\" width=\"300\" height=\"30\" \/><\/a><\/p>\n<p>Once the RIDE is installed, you can open RIDE by typing the command below.<\/p>\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Open-RIDE.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-112375\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Open-RIDE.png\" alt=\"Open RIDE\" width=\"154\" height=\"42\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Open-RIDE.png 154w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2019\/12\/Open-RIDE-150x42.png 150w\" sizes=\"(max-width: 154px) 100vw, 154px\" \/><\/a><\/p>\n<p>It can also be accessed by creating its shortcut on the desktop. It is to be noted that besides RIDE, there are also other IDE\u2019s that are available for writing the Robot Framework scripts.<\/p>\n<p><u><strong>For Example,<\/strong><\/u> Eclipse, PyCharm, VS Code, etc. However, as these IDE\u2019s have not been natively built for Robot Framework, you would have to install their respective plugin to use them.<\/p>\n<h2>Conclusion<\/h2>\n<p>With this, we come to the end of the installation process for using the Robot Framework.<\/p>\n<p>We now have all the basic software installed on our system to write scripts using the Robot Framework. Moving forward we will go through the basics of Ride and learn how to write test cases in it.<\/p>\n<p><span style=\"color: #ff6600;\"><a style=\"color: #ff6600;\" href=\"https:\/\/www.softwaretestinghelp.com\/getting-started-with-robot-framework-ride\/\"><strong>NEXT Tutorial<\/strong><\/a><\/span><\/p>\n\r\n\t\t\t<div id=\"daexthefup-container\"\r\n\t\t\t\tclass=\"daexthefup-container daexthefup-layout-stacked daexthefup-alignment-center\"\r\n\t\t\t\tdata-post-id=\"112309\">\r\n\r\n\t\t\t\t<div class=\"daexthefup-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefup-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefup-title\">Was this helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefup-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefup-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-yes daexthefup-button daexthefup-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-no daexthefup-button daexthefup-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-comment\">\r\n\t\t\t\t\t<div class=\"daexthefup-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefup-comment-label\" class=\"daexthefup-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefup-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefup-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefup-comment-textarea\" class=\"daexthefup-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Type your message\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefup-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-submit daexthefup-button\">Submit<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-cancel daexthefup-button\">Cancel<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-successful-submission-text\">Thanks for your feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>This Tutorial Explains What is Robot Framework Along with its Pros, Cons, Important Features and Installation Instructions: Robot Framework is an open-source Test Automation framework. It was initially developed by Nokia Networks, however, it is now maintained by the Robot Framework Foundation. You will learn about the features, pros, and &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Robot Framework Tutorial &#8211; Features And Software Installation\" class=\"read-more button\" href=\"https:\/\/www.softwaretestinghelp.com\/robot-framework-tutorial\/#more-112309\" aria-label=\"Read more about Robot Framework Tutorial &#8211; Features And Software Installation\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":112334,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_helpful_pro_status":1,"footnotes":""},"categories":[572],"tags":[],"class_list":{"0":"post-112309","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"category-framework"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/112309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/comments?post=112309"}],"version-history":[{"count":0,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/112309\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media\/112334"}],"wp:attachment":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media?parent=112309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/categories?post=112309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/tags?post=112309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}