Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Focus on New Window

View previous topic View next topic Go down

Focus on New Window

Post by Jyothi 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?

Jyothi

Posts : 4
Join date : 2011-05-20

Back to top Go down

Re: Focus on New Window

Post by neha.rathi on Fri May 20, 2011 7:16 pm

Hi all,
Even I am facing same problem. Any suggestion there?

Thanks in advance! Smile

neha.rathi

Posts : 1
Join date : 2011-05-20

Back to top Go down

Re: Focus on New Window

Post by susanexpress01 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]

susanexpress01

Posts : 2
Join date : 2011-05-25

Back to top Go down

Re: Focus on New Window

Post by mad227 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

Back to top Go down

Re: Focus on New Window

Post by mad227 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!

mad227
Active particpant
Active particpant

Posts : 11
Join date : 2011-08-30

Back to top Go down

Re: Focus on New Window

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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