waitForPopUp UID, timeout: Waits for a popup window to appear and load
up. waitForPageToLoad
timeout: Waits for a new page to load.
Is the new window a popup window or a new page? You may need to wait for
some time until the
window is loaded up. Try one of the above methods and then call the window
methods such as
getAllWindowIds,getAllWindowNames,getAllWindowTitles.

2009/11/12 Zhiqiang Ren <[email protected]>

> I have tried getAllWindowIds,getAllWindowNames,getAllWindowTitles,but this
> function all returned null.
>
> 2009/11/12 Jian Fang <[email protected]>
>
>
>>
>> String[] getAllWindowIds(): Returns the IDs of all windows that the
>> browser knows about.  String[] getAllWindowNames(): Returns the names of
>> all windows that the browser knows about.  String[] 
>> getAllWindowTitles():Returns the titles of all windows that the browser 
>> knows about. penWindow
>> UID, url: Opens a popup window. (If a window with that specific ID is not
>> already open). After opening the window, select it using the selectWindow
>> command. selectWindow UID: Selects a popup window; once a popup window
>> has been selected, all commands go to that window. To select the main window
>> again, use null as the target. closeWindow UID: Close the popup window.
>> selectMainWindows: Select the original window. For example: the Main
>> window.
>> The above are APIs for window operations, no one can meet you need?
>>
>> More details on
>>
>> http://code.google.com/p/aost/wiki/UserGuide070TelluriumAPIs
>> http://code.google.com/p/aost/wiki/UserGuide070UIObjects#Window
>>
>>
>> On Wed, Nov 11, 2009 at 7:03 AM, zhqren <[email protected]> wrote:
>>
>>>
>>> Web Program close the main window ,and open the new window.I don't
>>> know how to get this window
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> -----------------------------------------------------------------
> 姓名:任志强
> 手机:13811184215
> 邮箱:[email protected]
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to