In Selenium RC, cannot focus on window which has no id,name or title.

From website A, i click on a link for Website B. But this new Window that opens, has no id, name or title. So how do i select that window?
renisenbeAsked:
Who is Participating?
 
Craig KehlerConnect With a Mentor Director of Customer Service & Community RelationsCommented:
Can you open a new window and have it load the url for website B? By creating the new window via selenium you should be able to control it, if that is still a valid test case for you. There have been issues detecting popup windows since I started using it. If I could see the actual site under test I might be able to figure out a work around.
0
 
Craig KehlerDirector of Customer Service & Community RelationsCommented:
Does it show up in the list of ids returned from selenium.getAllWindowIds()? If it does you should be able to iterate through the IDs until you find the one that matches the correct conditionals.
0
 
renisenbeAuthor Commented:
The problem is that the window id/name/title does not show up in the list of ids/names/titles.
0
 
renisenbeAuthor Commented:
Yes, i have tried loading the url and opening a window with it, and be able to select it.
The idea of the test was to make sure that the ad link works, where the ad opens in a new window after being clicked. And then i can select it and do some work on it.
What are you looking for on the actual site to find a workaround?
0
 
Suhas .Connect With a Mentor QA ManagerCommented:
For the scenarios where we dont have id,title or control. You could try with Siquli to generate the executable for clicking on that object. Refer : http://sikuli.org/ 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.