其他分享
首页 > 其他分享> > ios 运行airtest自动化测试

ios 运行airtest自动化测试

作者:互联网

 

步骤1:安装webdriveragent

参考文档:https://blog.csdn.net/George513/article/details/100557731

https://blog.csdn.net/m0_38039283/article/details/112722648

xcode:10.3

步骤2:airtest连接iphone:

方式一:使用tidevice将airtest与iPhone连接起来:(tidevice也支持Windows运行iOS自动化)

参考文档:https://github.com/alibaba/taobao-iphone-devicehttps://testerhome.com/articles/29124

1,iPhone通过xcode(10.3)安装了webdriveragent

2, 安装tidevice:python3 install tidevice #只能Python 3.6+ 以上版本

3,tidevice wdaproxy -B com.apple.test.WebDriverAgentRunner-Runner --port 8200# 运行 XCTest 并在PC上监听8200端口转发到手机8100服务

4,在airtest上连接:http://127.0.0.1:8200

方式二:使用xcode将airtest与iPhone连接起来:

参考文档:https://blog.csdn.net/George513/article/details/100557731

https://blog.csdn.net/m0_38039283/article/details/112722648

 

 

标签:airtest,ios,blog,csdn,details,https,自动化,tidevice
来源: https://www.cnblogs.com/nefu-schooler-rtl/p/14734668.html