Sync in Robotium

How long does a robotium wait for a new action? Can I manually set a timeout for a Solo instance?

+3
source share
2 answers

Why is this timeout needed?

If you want to wait for a new action to appear, you can use:

getInstrumentation().waitForIdleSync();

But since you are using Robotium, I think they are already doing this for you.

+4
source

, solo.waitForActivity() 10 . Robotium - , , /​​ Waiter.

0

Source: https://habr.com/ru/post/1750278/


All Articles