[Webtest] Problem of : New Window with javascript

Srinivasa Rao Valluru webtest@lists.canoo.com
Tue, 06 Jun 2006 14:26:59 +0530

Hi Marc,

   Thanks for your reply.

I also felt the same thing. But when I checked the setinputfield or
verifytitle then it is failing. Then I thought it is wrong.

Fine. Now I am trying with selectWindow. But how we will get the new
window name. (In my case after clicking the "New" button", a new window
gets opened. So how to know the window name to use with "selectWindow").



Marc Guillemot wrote On 06/06/06 12:25,:
> Hi Srinivas,
> in most of the cases the newly opened window becomes automagically the
> "current one". This means that after clicking your "New" button, you can
> just continue with your setInputField and so on on the popup window. 
> If webtest doesn't consider the popup window as the current one, you can use
> <selectWindow> [1] to explicitely select the window per name.
> Marc.
> [1] http://webtest.canoo.com/webtest/manual/selectWindow.html
> --
> View this message in context: http://www.nabble.com/Problem-of-%3A-New-Window-with-javascript-t1734751.html#a4728354
> Sent from the WebTest forum at Nabble.com.
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest