非常好用的1款UI自动化测试工具:airTest


网易团队开发的UI自动化测试神器airTest,下载地址:http://airtest.netease.com/tutorial/Tutorial.html

Appium和airTest对比,我的看法:

 

 

有1句话这样形容airTest,会截图就会自动化。今天第3天接解它,体验真的很棒!

 

第1天踩的坑:

 

脚本前面要加上3条语句导入需要的包,否则执行脚本会报错。


错误1:使用poco:NameError: name 'poco ' is not defined

from poco.drivers.android.uiautomation import AndroidUiautomationPoco

poco = AndroidUiautomationPoco()

 

错误2:NameError: name 'touch' is not defined
from airtest.core.api import *

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM