Skip to content Skip to sidebar Skip to footer

How To See If A Sub-activity Was Started Or Not

I'm writing a unit test for an Android application. I'd like to see if clicking a button will open a correct sub-activity or not. There is a main activity, and within it, there are

Solution 1:

You need an ActivityMonitor to wait for started Activities. A very similar example is featured in Android Application Testing Guide.


Post a Comment for "How To See If A Sub-activity Was Started Or Not"