RE: Re: Html popup window: How to keep control o ver popup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RE: Re: Html popup window: How to keep control o ver popup

Paatsch, Bernd
RE: [selenium-users] Re: Html popup window: How to keep control over popup

Thanks for the solution and the link. It works :)

-----Original Message-----
From: Eric Starr [[hidden email]]
Sent: Thursday, January 12, 2006 5:06 PM
To: [hidden email]
Subject: [selenium-users] Re: Html popup window: How to keep control over popup

Use the window.open and be sure to specify an id for the window which is the second parameter.  More info here: http://www.w3schools.com/htmldom/met_win_open.asp

<button
      id="btnChangeSecurityCode"
      name="btnChangeSecurityCode"
      type="button"
      value="btnChangeSecurityCode"
      onclick="window.open('change_security_code.php', 'changeSecCode',370, 380) ">Change Code</button>

<tr>
    <td>selectWindow</td>
    <td>changeSecCode</td>
    <td></td>
</tr>

You can find the reference here: http://www.openqa.org/selenium/seleniumReference.html

Hope this helps.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=1013&messageID=2838#2838

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]