robot farmework 框架引入AutoItLibrary安装详解
安装AutoItLibrary必先安装pywin32(安装相对应的版本,命令行运行python可查看python版本号)
一.使用pip命令安装pywin32(简便快捷)
打开cmd输入pip install pywin32即可,安装成功后,使用pip list命令查看是否安装成功
二.下载AutoItLibrary包解压,打开cmd运行窗口(这里一定要管理员身份打开cmd窗口)(AutoItLibrary包网上很多自行下载)
进入解压的AutoItLibrary文件下,运行 python setup.py install 命令
验证 :(输入python, 引入AutoItLibrary包不报错即可)
三.安装AutoIt V3
下载地址:https://www.autoitscript.com/site/autoit/downloads/
点击下载安装即可,最后导入AutoItLibrary(AutoItLibrary显示黑色则引入成功)