how to handle multiple windows(popups) in selenium rc

19
Nov
2012
how to handle multiple windows(popups) in selenium rc

suppose i click on a link and it will open a new window for that one i have to get the id of that window
for that one i write code like this

String str[]=selenium.getAllWindowNames();
selenium.selectWindow(str[0]);
selenium.setWindowFocus();
//but this also not worked for me for single window, suppose we felt that it works for single window but suppose after
// clicking on link it opens multiple windows how [......]
About
This topic belongs to the forum
  • Numbers of topics : 2330
  • Numbers of messages : 6044
  • Numbers of users : 5008
  • Numbers of points : 257
Similar topics
Hi All , I Just started playing with Selenium IDE. I Got a problem in using selenium IDE specially while handling popup.The name of my popup is dynamic that is nothing but the current time i am able to handle the dynamic name of my poup.Afte
Hi All, I need help to handle multiple tabs in single browser. Pls could anyone post the code or give me some suggestions. Thanks, Syam.
Hi, I am working on one healthcare product. In this product on home page "Patient" button is there. When any user clicks on Patient button application opens pop up window/screen having list of some more patients.we can search patient by lastname in same
Hi I am using selenium testing using Firefox. I am executing the application using the selenium IDE. Through selenium IDE, i am able to login and move to the corresponding screen. There are 4 buttons on my screen, when I invoke through selenium to clic
Hi, I am not able get handle of the OK button inside the jquery pop up. Can somebody help me on this pls?? Thanks, Bavya
Forums from same category