第一步:安装pywin32
前提是已经安装好Robotframework
pywin32的下载地址
http://sourceforge.net/projects/pywin32/files/pywin32/
下载完成后入下图:
在Python2.7版本, 如果Python是32位,选择pywin32-xxx.win32-py2.7安装, 如果Python是64位,选择pywin32-xxx.win-amd64-py2.7.
那么,怎么知道自己的Python是多少位呢?在你Python的安装包打开python(command line.)如下图:
安装成功以后再cmd中输入 pip list查看pywin32。 或者在C:\Python27\Lib\site-packages路径下找是不是有pywin32文件
第二步:安装AutoItLibrary
下载AutoItLibrary压缩包,下载路径如下:
-
直接官网下载地址:http://www.softpedia.com/get/Programming/Components-Libraries/AutoItLibrary.shtml
-
Csdn下载地址:http://download.youkuaiyun.com/detail/liuheng123456/6236097
-
Google下载地址:https://code.google.com/p/robotframework-autoitlibrary/
将下载的压缩包解压,以管理员身份运行cmd, 使得当前目录为AutoItLibrary的存放目录,然后通过cmd命令python setup.py install进行安装
第三步:安装autoit-v3
下载地址: https://www.autoitscript.com/site/autoit/downloads/
在安装过程中的注意事项:如果你的python是64位的那就选择 Use native x64tools by default. 如果是32位的就行选择 Use x86 toolsby default
安装完成以后,在RF环境下就可以加载AutoItLibrary库了。
--- END ---