An environment construction
Premise: Python3 environment has been built
1. Installing the Robot Framework Framework
After the administrator runs cmd, enter pip install Robotframework
2. Installing the Requests Library
PIP Install requests
3. Installing the Robotframework-requests Library
Pip Install-u robotframework-requests
Two Sublime installation
This does not use ride to write and run the robot framework (because it temporarily does not support Python3)
Download install sublime to enable it to Robot the framework syntax highlighting (Robot framework syntax lignlighting)
1. I download the package control.sublime-package (download URL https://packagecontrol.io/installation)
2.subline Create a new folder install Packages will 1. Download the Add
3. Package Control is installed from the URL http://blog.csdn.net/u011272513/article/details/52088800
Configuration: Installs the most important package control components.
- Press CTRL + ' bring up the console (note: There is a conflict between the shortcut keys installed QQ Input method, Input Method property settings-Input Method management-Cancel Hotkey switch to QQ Pinyin.)
- paste the following code to the bottom command line and enter:
- import Urllib.request,os; PF = ' package control.sublime-package '; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); Open (Os.path.join (IPP, PF), ' WB '). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' + pf.replace (', '%20 ')) . Read ())
- Restart the software if the perferences-> The package control item is seen in the settings and the installation is successful.
- Next you can use the package Control install plug-in: Press Ctrl+shift+p to bring up the control Panel, enter install to bring up the Install Package option Select Enter. Then enter the plugin you want to install in the search box and install it in the list.
4. Select Preferences-package Control and enter the install package (this will take a while to appear)
5. In the pop-up window, enter "robot" to find the robot Framework assistant, and make a selection, then you can install successfully.
This allows you to find the "robot framework syntax highlight" in View-syntax
Note:
1. and 2. Do not know if it is necessary to ask God if it is not necessary to tell
Reference URL: http://baijiahao.baidu.com/s?id=1581370332191514040&wfr=spider&for=pc
http://blog.csdn.net/u011272513/article/details/52088800
PYTHON3 Robot Framework Testing Framework