简体   繁体   中英

Is it possible to test multiple apps with espresso test recorder?

是否可以使用espresso测试记录器记录多个应用程序的测试,或者您是否需要使用UiAutomator手动编写这些测试的代码?

For background, see:

The pair of tools should work to test an app's notifications, for instance.

But these docs don't discuss using the Espresso Test Recorder for multiple apps. The test recorder is in beta and still developing.

Suggestion: Try using Espresso Test Recorder to record actions and assertions within each app separately, then manually combine the two generated test programs.

Please report back on lessons learned!

Espresso uses current applications context, so it means that you cannot do things like checking sharingIntent, notifications or opening another app.

You can make tests for each of your aplications, then write bash/python script for running them together, but as you think you cannot test multiple apps using single record or 'manual' test case.

I think that UiAtomator can make a thing as this a pure instrumentation testing framework, but I haven't used that yet.

Hope it will help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM