Share
Go down
saint_angerrr
Posts : 9
Join date : 2010-05-29

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

on Fri Jun 11, 2010 2:01 am
how to get popup or any windows id? how to store it?
avatar
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

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

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
saint_angerrr
Posts : 9
Join date : 2010-05-29

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

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

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

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