« Return to Thread: Selenium selectWindow command

Re: Selenium selectWindow command

by ajayjoc :: Rate this Message:

Reply to Author | View in Thread

Better try using wait condition.
rawat wrote:
Hi guys,

In one of the test, i m clicking a button which causes a new window to open. When i recorded from selenium ide it gave below sequence.

selenium.click("Finish_Button");
selenum.selectWindow("browserwin");

But when am running this then selenium RC giving an error

"window is closed or not open"

After clicking button i tried giving sleep but that also didn't worked.

Please help me

Thanks
Rawat

 « Return to Thread: Selenium selectWindow command