kaerxifa

网易团队开发的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 *

 

分类:

技术点:

相关文章: