Airtest

  1. G.DEVICE 设备对象
  2. G.DEVICE_LIST 设备对象列表
  3. auto_setup() 依次连接全部设备,设置日志目录,工程目录,脚本目录
  4. init_device() 生成设备对象
  5. G.DEVICE.start_app()  启动软件

运行脚本:

def runTest(self):
    script_path = self.args.script #参数传入的脚本路径
    ......

猜你喜欢

转载自blog.csdn.net/vany_/article/details/88827811
今日推荐