popupid = @selenium.get_eval("{var windowId; for(var x in
this.browserbot.openedWindows) {windowId=x;} }")
@selenium.wait_for_pop_up(popupid,"3000")
@selenium.select_window(popupid)
@selenium.window_focus
@selenium.click("//input[@name='contactTos']");
@selenium.click("//input[@value='Insert checked contacts']");
If Selenium ruby gem is used to Run Selenium server, the id of popup
window shows wrong value and fails to run the rest of the test because
it does not find any window with that id
If Selenium jar file is used to run the Selenium server, the popup
window id is detected and test runs fine.
Is it a problem of Selenium ruby gem??Eagerly waiting for the answer
-Sakib