Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

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

Focus on New Window Empty 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! Smile
avatar
susanexpress01
Posts : 2
Join date : 2011-05-25

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

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

Focus on New Window Empty 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!
Sponsored content

Focus on New Window Empty Re: Focus on New Window

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