testing - How do you test an Android application across multiple processes? -
i have whole project tablets resources , have bunch of test cases written in combination of robotium, android , junit apis
in project under testing used special attribute 1 of activities android:process=":remote"
. @ point activity attribute loaded can use robotium methods can't access elements on current screen. seems should relaunch instrumentation or initialize new instance of solo
. tried this, no help, seems can't relaunch in other process test. maybe have experience of testing such kind of applications , know how implement robotium
or using directly android.test api?
you can use iuautomator, works on api >= 16: http://developer.android.com/tools/testing/testing_ui.html
you can use monkey runner: http://developer.android.com/tools/help/monkeyrunner_concepts.html it's based on x,y
there no option use robotium, neither instrumentation test multiple processes.
Comments
Post a Comment