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 *

 

分类:

技术点:

相关文章:

  • 2021-10-13
  • 2021-04-16
  • 2022-12-23
  • 2021-07-21
  • 2021-12-04
  • 2022-12-23
  • 2021-12-19
  • 2021-11-28
猜你喜欢
  • 2021-06-12
  • 2021-12-02
  • 2021-12-17
  • 2021-12-02
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
相关资源
相似解决方案