Closed GoogleCodeExporter closed 9 years ago
Thanks for reporting this.
Original comment by renasr...@gmail.com
on 7 Nov 2013 at 4:30
[deleted comment]
Out of curiosity I pulled the Robotium source code and traced through it to see
what happens.
In the Clicker class, in the clickOnMenuItem(String text, boolean subMenu)
method, I modified the following call
boolean textShown = waiter.waitForText(text, 1, WAIT_TIME, false) != null;
I changed the last parameter's value from false to true, like this
boolean textShown = waiter.waitForText(text, 1, WAIT_TIME, true) != null;
This allows for scrolling in order to find the text. I haven't tested this
change exhaustively and I'm not familiar enough with the Robotium code to be
able to say confidently that this doesn't introduce any side effects / new bugs
/ regressions though.
Original comment by druckebu...@netflix.com
on 7 Nov 2013 at 8:53
[deleted comment]
Thanks.
Original comment by renasr...@gmail.com
on 8 Nov 2013 at 6:04
The only way we've found to fix this is by doing the click directly from
Javascript. Please use Robotium 5.0.1. In the new Config class, set:
conf.useJavaScriptToClickWebElements = true
See the javadoc on how to use the Config class.
Original comment by renasr...@gmail.com
on 6 Jan 2014 at 7:57
Original issue reported on code.google.com by
denis...@gmail.com
on 5 Nov 2013 at 5:44