android - Robotium - click on content-desc and start test on running activity -


1st question

i'm trying go click on button near menuitem (on galaxy s6) robotium. here button

here class , content-desc of button ui automator viewer

i trying click on many ways can't.. example can click on next 1 button solo.clickonmenuitem("string"); because 1 one has content-desc: menu.

so how can click 1st one?

2nd question

can start robotium test on opened apk? mean open manually application, log on user account, , leave next activity opened. run robotium test with:

adb shell instrument -w -e class com.android.foo.footest com.android.foo/android.test.instrumentationtestrunner 

and test begins activity, need making automated presentations.

all test running starting apk on itself, how can skip it?


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -