Android的APK自动化以E preSSO [英] Automation of Android APK with Espresso

查看:140
本文介绍了Android的APK自动化以E preSSO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我的自动化Android应用程序的一些用户界面(我没有源$ C ​​$ C所以我使用的APK文件)。

我已经通过提供这里的教程了以及一些教程可以在谷歌,但他们都需要源$ C ​​$ C。

如果任何人有一些想法如何没有源$ C ​​$ C自动以E preSSO的UI,请帮助。

我使用的IntelliJ作为IDE和应用程序的Andr​​oid 5.0.2版本。


解决方案

  

我已经通过教程这里提供,也有一些教程提供了在谷歌,但他们都需要源$ C ​​$ C。


这是因为居preSSO是仪器测试的一部分,它需要源$ C ​​$ C。

其它工具—用户界面的Automator和monkeyrunner,例如—不需要源$ C ​​$ C。


  

由于长者preSSO比较落后与Android的previous版本不兼容,也有超过UIAutomator性能优势就是为什么我要使用长者preSSO


然后聊到应用的开发者,并与该人安排测试应用程序,具有完整的源$ C ​​$ C访问。

I am trying to automate some UI of my Android application(I do not have source code so I am using the APK file) .

I have gone through tutorial provided here and also some tutorial available at Google but all of them require source code.

If anyone have some idea how to automate the UI with Espresso without source code, please help.

I am using IntelliJ as IDE and app android version 5.0.2.

解决方案

I have gone through tutorial provided here and also some tutorial available at Google but all of them require source code.

That is because Espresso is part of instrumentation testing, and it requires source code.

Other tools — UI Automator and monkeyrunner, for example — do not require source code.

As Espresso is more backward compatible with previous version of Android and also have performance advantage over UIAutomator that why I want to use Espresso

Then talk to the developer of the app and arrange with that person to test the app, with full source code access.

这篇关于Android的APK自动化以E preSSO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆