[Webtest] [webtest][JIRA] Created: (WT-460) selectWindow not storing original
Chris Pitts (JIRA)
Chris Pitts (JIRA)" <email@example.com
Tue, 2 Sep 2008 18:23:20 +0200 (CEST)
selectWindow not storing original parent window
Environment: Windows XP, Grails 1.0.3, Groovy 1.5.6, Grails WebTest plugin 0.3 & 0.5.1
Reporter: Chris Pitts
We are having problems with selectWindow while trying to test that a popup does indeed popup and not wipe out the original page.
clickLink(label: 'Launch popup')
...expecting index 0 to be the base page. Instead it is finding the popup so the final verifyTitle fails.
So we tried index 1, and get a 'No window found' message from selectWindow. In the details:
'available windows index: 0, name: ><, title: ><, url: http://localhost:8080/myapp/mypopup'
It looks like only the popup is on the windows 'stack'.
window.open('http://localhost:8080/myapp/MyHomePage, 'MyPopup');return false;
The version of WebTest jar in the 0.5.1 plugin seems to be R_1708 (is this a formal release?)
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see: