How to get focus to a new popup window which doesnt have name,id or unique title.
Page 1 of 1 • Share •
How to get focus to a new popup window which doesnt have name,id or unique title.
I want to get focus or select an window which is pop-up on click to the link and the link has following tags in html
How can i get the focus on this window please help...
Thanks in Advance
- Code:
<a target="_restaurant_49" href="/impersonate/49">View Dashboard</a>
How can i get the focus on this window please help...
Thanks in Advance
Arthur- Active particpant

- Posts: 23
Join date: 2011-05-23
Location: Pune
Re: How to get focus to a new popup window which doesnt have name,id or unique title.
selenium.SelectPopup("");
selenium.WindowFocus()
with null or empty in selectpopup method the control goes to last opened popup.
Prateek_12- Posts: 4
Join date: 2011-07-18
Re: How to get focus to a new popup window which doesnt have name,id or unique title.
Not working for me its not selecting the newly opened window.Prateek_12 wrote:
selenium.SelectPopup("");
selenium.WindowFocus()
with null or empty in selectpopup method the control goes to last opened popup.
Arthur- Active particpant

- Posts: 23
Join date: 2011-05-23
Location: Pune
Similar topics» How to get focus to a new popup window which doesnt have name,id or unique title.
» Issue with dismissing the popup window in firefox and ie using java webdriver
» Popup window for friends request
» How to get focus to main window after popup window is closed.
» How to get focus on popup alert while saving the data through selenium RC with php.
» Issue with dismissing the popup window in firefox and ie using java webdriver
» Popup window for friends request
» How to get focus to main window after popup window is closed.
» How to get focus on popup alert while saving the data through selenium RC with php.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
» sample webdriver code for php users
» which standalone server to use
» Dynamic Drop Down Selection
» It is possible to find list of all URL's exist in any web page in selenium ide
» It is possible to compare 2 same images in selenium IDE.
» how to compare 2 ULR's which is exist in same web page (View page source).
» Web Driver: Unable to click a link present inside the frame of a frameset
» Help me to get dynamicaly loaded options of dropdown in Selenium RC -Junit test case