Ride Start Interface:
First create a test project file-new project, select the directory type
Right-click on the Created folder, create a test suite Openbaidu, NEW Suite, select the robot type
Next, add a test case to the test Suite above
Click on the test sleeve to add the library to the right, and if not added selenium2library will not be able to use its built-in encapsulated keywords
Note Case sensitive
Black for import success, the imported library appears in red, indicating that the imported library does not exist. Reference library does not exist troubleshooting methods: Http://www.cnblogs.com/v5captain/p/6236480.html Write a simple use case to open BaiduClick Run->startwait for completion under the Run tab to view the report and logThe default call is the Firefox browser C:\Program Files (x86) \mozilla Firefox may encounter problems: 1, webdriverexception:message: ' Geckodriver ' Executable needs to is in PATH. Download the Firefox driver geckodriver can be placed in the Python installation directory c:\python27,http://docs.seleniumhq.org/download/ 2, WebDriverException:Message:Unsupported Marionette Protocol version 2, required 3upgrade Mozilla Firefox >= v47The IDE just provides a convenient interface, often using the command line Pybot–i Web ***.html to test only the case of the tag web
Robot Framework Automation test First use case (ii)