views:

53

answers:

1

How long does robotium wait for a new activity to show up? Is it possible to set the timeout manually for the Solo instance?

A: 

What do you want that timeout for?

If you want to wait for the new activity to show up, you can use:

getInstrumentation().waitForIdleSync();

But since you are using Robotium I guess they already do that for you.

Macarse
Well, if the product code freezes, ideally, I didn't want the test code to freeze as well. It would be interesting for the test code to throw an exception if it cannot synchronize after a while.
Vicente
Oh, now I get what you are saying. I would create an issue on http://code.google.com/p/robotium/issues/list and see what the robotium's guys answer.
Macarse
I would appreciate if you could do that. Thanks!
Vicente