zoukankan      html  css  js  c++  java
  • 自动化测试-22.RobotFrameWork鼠标和键盘的操作针对出现window界面的处理

    键盘和鼠标的操作:使用AutoItLibrary模块

    1.安装pywin32

    http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/

    2.安装AutoItLibrary模块

    方法一:将上面下载好的AutoItLibrary解压,然后以管理员身份,打开cmd窗口python setup.py install

    下载地址:https://download.csdn.net/download/liuheng123456/6236097

    方法二:pip install AutoItLibrary

    3.安装AutoIt

    https://www.autoitscript.com/site/autoit/downloads/

    找到C:Program Files (x86)AutoIt3AutoItX

    在这个路径中打开cmd窗口,输入下面两个命令:若第一个命令出现弹窗,使用第二个命令

    regsvr32 /u AutoItX3.dll

    regsvr32 /s AutoItX3.dll

  • 相关阅读:
    表单
    框架
    表格
    列表
    标签
    封装类(包装类)
    常见类 --Object
    日志
    异常
    选择结构
  • 原文地址:https://www.cnblogs.com/cmnz/p/9123411.html
Copyright © 2011-2022 走看看