This is with related to selenium rc
Consider the case where I have 2 forms or window:
Currently I am at 1st form where Report
button is present when I click the button it opens another form or window.
Below code is to select the 2nd form or window and maximizing it...
Please give the title of the window..(in my exmaple i have title of 2nd form as 'Terms & Conditions | Photojaanic').
selenium.selectWindow("title=Terms & Conditions | Photojaanic");
selenium.windowFocus();
selenium.windowMaximize();
Below code is to return to original form where Report
button is present.
selenium.selectWindow("null");
selenium.windowFocus();