I am writing a selenium test for a GWT application. It uses the mouse cursor / mousedown / mouseup to click buttons. He presses the "Login" button of my application button, which calls a div containing the user ID and password input fields, and this works fine. Then he enters the user ID and password, then click the "Submit" button for the login form.
If I started it slowly, I can see the button, but the request is never sent to the server (I look at the wire).
In fact, if while the serial IDE is still open, I manually click the button, the request is not sent. If I then close the selenium IDE and click the button, the request goes through a fine.
Has anyone seen this? It seems really weird.
Update:
Firebug shows a script error. Apparently the selenium script has some conflict with the GWT script. Here's the start of the error, but it's all quite lengthy:
[Exception ... "'com.google.gwt.core.client.JavaScriptException: (TypeError): result is null fileName: chrome: //selenium-ide/content/recorder.js lineNumber: 74 stack: ([object XMLHttpRequest ], "POST", " http: // localhost: 8080 / login ", true) @chrome: // selenium-ide / content / recorder. Js: 74 XPC_SJOW_CallWrapper ((function (url, windowName, windowFeatures, replaceFlag) { if (self.openCalled) {return self.originalOpen.call (window, url, windowName, windowFeatures, replaceFlag);} else {self.o
source
share