Share
Go down
Jyothi
Posts : 4
Join date : 2011-05-20

Focus on New Window

on 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?
neha.rathi
Posts : 1
Join date : 2011-05-20

Re: Focus on New Window

on Fri May 20, 2011 7:16 pm
Hi all,
Even I am facing same problem. Any suggestion there?

Thanks in advance! Smile
susanexpress01
Posts : 2
Join date : 2011-05-25

Re: Focus on New Window

on 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]
mad227
Active particpant
Active particpant
Posts : 11
Join date : 2011-08-30

Re: Focus on New Window

on 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?
mad227
Active particpant
Active particpant
Posts : 11
Join date : 2011-08-30

Re: Focus on New Window

on 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!
Sponsored content

Re: Focus on New Window

Back to top
Permissions in this forum:
You cannot reply to topics in this forum