操作系统:Win7_64bit
一、准备阶段
安装包:
1.pywin32-219.win-amd64-py2.7.exe
2.autoit-v3-setup.exe
https://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe
3.PIL-fork-1.1.7.win-amd64-py2.7.exe
http://www.qttc.net/static/file/PIL-fork-1.1.7.win-amd64-py2.7.exe
4.Pillow-3.0.0.win-amd64-py2.7.exe
补丁包:
AutoItX3_x64
http://www.zhaodll.com/dll/a/201206/45100.html
源码包:
http://github.com/qitaos/robotframework-autoitlibrary
二、安装步骤
1.管理员权限 运行 cmd.exe
2.命令行 执行安装
>pywin32-219.win-amd64-py2.7.exe
>autoit-v3-setup.exe
>PIL-fork-1.1.7.win-amd64-py2.7.exe
>Pillow-3.0.0.win-amd64-py2.7.exe
3.1.下载 robotframework-autoitlibrary
>git clone http://github.com/qitaos/robotframework-autoitlibrary
3.2/替换AutoItX3.dll
使用补丁包AutoItX3_x64里面的AutoItX3_x64.dll 替换 3rdPartyTools/AutoIt/ 目录下的AutoItX3.dll文件
3.3.安装 robotframework-autoitlibrary
>cd robotframework-autoitlibrary
>python setup.py install
3.4.重新注册 AutoItX3.dll
>cd c:\Python27\Lib\site-packages\AutoItLibrary\lib
>regsvr32 /u AutoItX3.dll
>regsvr32 /s AutoItX3.dll