Rain Lee
Rain Lee

Reputation: 13

how to do cross app automation testing for android

lots of apps now need to interact with other apps. i'll give some examples:

take picture by calling system camera

open url like http://www.shihuangzhilu.com in a browser

android instruments can only test one app per time. can we do automation testing here?

Upvotes: 0

Views: 400

Answers (2)

Anders Metnik
Anders Metnik

Reputation: 6237

You can't explicit definitely not using the current testing framework of android. What you can do is use robotium, and then check if you have gotten the values back, and that you are no longer within your application/activity, that's the only way i can think of.

Upvotes: 2

Otto
Otto

Reputation: 1685

Yes, you can test across applications, see monkeyrunner: http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html

(not to be confused with Monkey, another android tool)

Upvotes: 0

Related Questions