Couple second pause when an assert statement fails on device

19 views
Skip to first unread message

Taryn Dickson

unread,
Aug 31, 2016, 5:22:59 PM8/31/16
to Robotium Developers
Hi,

Im getting a ~5 second pause while running tests when an assert statement doesnt pass. Is this a JUnit problem, or a robotium problem? Is there a way to disable the pause time (if it is intentional)?

Thanks

Renas

unread,
Sep 1, 2016, 11:55:42 AM9/1/16
to robotium-...@googlegroups.com
Hi,

All the waitFor methods have parameter to set the timeout. So instead of searchText you can use waitForText. You can also set the timeouts globally by setting Solo.Config.timeout_large and Solo.Config.timeout_small. 

Please see the javadoc for more information:


--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotium-developers+unsub...@googlegroups.com.
To post to this group, send email to robotium-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/robotium-developers.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages