HI,
I am using Selenium IDE for recording test cases. In a particular test case, I need to work on two windows simultaneously but the s开发者_StackOverflow中文版elenium IDE does not record when I open a new tab and work on it. Can anyone give me suggestions on this?
awaiting replies !
You can try that programmatically as suggested here How to close a tab and open a new tab using Selenium RC
You can open the other window (considered popup by selenium i guess) like so
selenium.openWindow("http://example.com/","dev");
selenium.selectWindow("dev");
selenium.open("/");
and then you switch b/w the windows . to go back to original one you will have to do
selenium.selectWindow(null);
精彩评论