写在最前面:
没别的,就想折腾点东西
需要安装的模块:
qingjiaowosuanshujiadeMacBook-Pro:AutoTest Arithmetic$ pip3 install robotframwork
Collecting robotframwork
Could not find a version that satisfies the requirement robotframwork (from versions: )
No matching distribution found for robotframwork
qingjiaowosuanshujiadeMacBook-Pro:AutoTest Arithmetic$ pip3 install robotframework-selenium2library
Collecting robotframework-selenium2library
Downloading https://files.pythonhosted.org/packages/1c/f1/612f9aa29f33b25a1034749dde67dfbf6de9b297709d06df71f9bfabfc81/robotframework_selenium2library-3.0.0-py2.py3-none-any.whl
Collecting robotframework-seleniumlibrary>=3.0.0 (from robotframework-selenium2library)
Downloading https://files.pythonhosted.org/packages/74/e9/19f4f96e1f35ed34e5f9d06d8285f981d2b8c5e7efa23d5c201c4650d732/robotframework_seleniumlibrary-3.2.0-py2.py3-none-any.whl (79kB)
100% |████████████████████████████████| 81kB 61kB/s
Requirement already satisfied: robotframework>=2.8.7 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library) (3.0.4)
Requirement already satisfied: selenium>=3.4.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library) (3.141.0)
Requirement already satisfied: urllib3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from selenium>=3.4.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library) (1.23)
Installing collected packages: robotframework-seleniumlibrary, robotframework-selenium2library
Successfully installed robotframework-selenium2library-3.0.0 robotframework-seleniumlibrary-3.2.0
我这边不知道为什么pip不了robotframework,然后直接用pycharm装的。
然后pip3想装robotframework-ride的时候死活报错,然后没办法只能手动下载tar.gz的包解压到
qingjiaowosuanshujiadeMacBook-Pro:robotframework-ride-1.5.2.1 Arithmetic$ python setup.py install
然后启动ride.py报错
qingjiaowosuanshujiadeMacBook-Pro:AutoTest Arithmetic$ ride.py
wxPython not found.
You need to install wxPython 2.8.12.1 with unicode support to run RIDE.
wxPython 2.8.12.1 can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
qingjiaowosuanshujiadeMacBook-Pro:AutoTest Arithmetic$
然后给的链接打不开,我有什么办法咯,有空再说吧