- Jyothi
- Posts : 4
Join date : 2011-05-20
Focus on New Window
Fri May 20, 2011 5:07 pm
Hi,
How will the user be able to select,focus and do some action on secondary window and focus back on the primary window using selenium RC?
Tried with the selectWindow('Window Title') .
This is not working for me.
Any work around for this use case?
How will the user be able to select,focus and do some action on secondary window and focus back on the primary window using selenium RC?
Tried with the selectWindow('Window Title') .
This is not working for me.
Any work around for this use case?
- neha.rathi
- Posts : 1
Join date : 2011-05-20
Re: Focus on New Window
Fri May 20, 2011 7:16 pm
Hi all,
Even I am facing same problem. Any suggestion there?
Thanks in advance!
Even I am facing same problem. Any suggestion there?
Thanks in advance!
- susanexpress01
- Posts : 2
Join date : 2011-05-25
Re: Focus on New Window
Wed May 25, 2011 1:16 pm
[i] Hello,everyone.[/i]
[i]I have the same trouble.[/i]
[i][url=http://www.susanexpress.com/]World of warcraft Gold[/url][/i]
[i]I have the same trouble.[/i]
[i][url=http://www.susanexpress.com/]World of warcraft Gold[/url][/i]
- mad227Active particpant
- Posts : 11
Join date : 2011-08-30
Re: Focus on New Window
Thu Sep 22, 2011 3:55 am
I found that to select,focus and do some action on secondary window, you need to select, focus and then run your test up to that point. Then the secondary window will open and you record your test/s from this window. Once you run your test, it will operate properly.
I haven't yet figured out how to record (essentially) hitting the Back button to return to my former window.
Any ideas out there?
I haven't yet figured out how to record (essentially) hitting the Back button to return to my former window.
Any ideas out there?
- mad227Active particpant
- Posts : 11
Join date : 2011-08-30
Re: Focus on New Window
Thu Sep 22, 2011 4:06 am
OK I figured it out.
To get back to your original window you use:
goBackAndWait
This will wait until the original window is loaded.
Hope this helps!
To get back to your original window you use:
goBackAndWait
This will wait until the original window is loaded.
Hope this helps!
- How to get focus to a new popup window which doesnt have name,id or unique title.
- Issues with IE close browser, Firefox window focus. unable to get screenshots any browser
- How to get focus to main window after popup window is closed.
- Selenium selecting a new Window
- how can call this class "x-window-header x-window-header-noborder x-unselectable x-window-draggable" from webdriver
Permissions in this forum:
You cannot reply to topics in this forum