Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

how to get popup or any windows id? how to store it?

View previous topic View next topic Go down

how to get popup or any windows id? how to store it?

Post by saint_angerrr on Fri Jun 11, 2010 2:01 am

how to get popup or any windows id? how to store it?

saint_angerrr

Posts : 9
Join date : 2010-05-29

Back to top Go down

Re: how to get popup or any windows id? how to store it?

Post by Adviser on Fri Jun 11, 2010 12:06 pm

hi,

use the following commands:

storeAllWindowIds ( variableName )
Returns the IDs of all windows that the browser knows about.
Returns:
the IDs of all windows that the browser knows about.
Related Assertions, automatically generated:

assertAllWindowIds ( pattern )
assertNotAllWindowIds ( pattern )
verifyAllWindowIds ( pattern )
verifyNotAllWindowIds ( pattern )
waitForAllWindowIds ( pattern )
waitForNotAllWindowIds ( pattern )

storeAllWindowNames ( variableName )
Returns the names of all windows that the browser knows about.
Returns:
the names of all windows that the browser knows about.
Related Assertions, automatically generated:

assertAllWindowNames ( pattern )
assertNotAllWindowNames ( pattern )
verifyAllWindowNames ( pattern )
verifyNotAllWindowNames ( pattern )
waitForAllWindowNames ( pattern )
waitForNotAllWindowNames ( pattern )

storeAllWindowTitles ( variableName )
Returns the titles of all windows that the browser knows about.
Returns:
the titles of all windows that the browser knows about.
Related Assertions, automatically generated:

assertAllWindowTitles ( pattern )
assertNotAllWindowTitles ( pattern )
verifyAllWindowTitles ( pattern )
verifyNotAllWindowTitles ( pattern )
waitForAllWindowTitles ( pattern )
waitForNotAllWindowTitles ( pattern )


Use like this:

array1 = selenium.getAllWindowTitles; (in RC)


hope this will help you. Best of luck.

Bye

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: how to get popup or any windows id? how to store it?

Post by saint_angerrr on Sat Jun 12, 2010 12:32 am

sorry didnt get u ....my situation is that 2 popups open n close themselves and then a window gets opened on wich selenium commands dont pass on

saint_angerrr

Posts : 9
Join date : 2010-05-29

Back to top Go down

Re: how to get popup or any windows id? how to store it?

Post by Sponsored content Today at 11:59 am


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