I have another case, this would be a popup window with target _blank.
window.open call intercepted; window ID (which you can use with selectWindow()) is ""
Here I don't even get a randomized target ...
I tried the solution offered in another thread (
http://forums.openqa.org/thread.jspa?threadID=2333&tstart=0), but I can't get it work fine:
{code:html}<tr>
<td>store</td>
<td>dom=javascript{
this.page().findElement('link=Borrar').target='popup'}</td>
<td>myVar</td>
</tr>
<tr>
<td>store</td>
<td>dom=javascript{selenium.browserbot.getCurrentWindow().open('', 'popup')}"</td>
<td>myWindow</td>
</tr>
<tr>
<td>click</td>
<td>link=Borrar</td>
<td></td>
</tr>
<tr>
<td>waitForPopUp</td>
<td>popup</td>
<td>30000</td>
</tr>
<tr>
<td>selectWindow</td>
<td>popup</td>
<td></td>
</tr>{code}
Can anybody help me with this?