Robotium waitForFragment

Issue

Is there an equivalent method for fragments just like there is for activities?

I have an app and want to test fragment transactions.

Any other workarounds? I hate to put solo.sleep(2000) just to wait for the transaction to finish.

Solution

I think 3.3 of Robotium added waitForFragment() methods.

Answered By – dnkoutso

Leave a Comment