Closed Bug 756183 Opened 13 years ago Closed 13 years ago

Robocop: loadUrl sometimes fails

Categories

(Testing :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

BaseTest.loadUrl(url) fails occasionally (about 1 in 1000 times for me, running locally on Galaxy S). If I call loadUrl() repeatedly in a loop, 99%+ of the calls succeed, but on occasion, the url is entered in the awesome bar, but no page load is initiated. It looks like the ENTER key press was lost.
Of note, I have never seen a URL mistyped / missing a character. Only the Enter ever seems to be lost. loadUrl handles Enter differently from the url string; I note 2 particularly differences: 1. url is sent with Actions.sendKeys; Enter is sent with Actions.sendSpecialKey 2. Enter is sent after an EventExpecter is created (for DOMContentLoaded) I am looking into 1 first: using sendKeys("\n"); so far, it appears to be no worse than sendSpecialKey.
See bugs 756704 and 758405 for other issues that might cause loadUrl failures (but with slightly different symptoms).
Blocks: 756817
I am no longer able to reproduce this behavior. I think one of the related bugs must have fixed it somehow.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.