As of now this is not possible in Firewatir. Will implement this.

- Angrez

On Tue, Sep 22, 2009 at 6:21 PM, Pallavi Sharma <[email protected]>wrote:

> E.g.
>
> ie=Watir::IE.attach(:title,'Google');
>
> $sessionHwnd=ie.hwnd();
>
>
> Now $sessionHwd, becomes a global variable, and instead of attaching again
> and again to the changing title as my page navigates from one to another we
> just use this
>
> ie=ie.attach(:hwnd,$sessionHwnd)
>
>
> This feature also helps in multithreading, as you may have same title page,
> but not same session handle page.
>
>
> If by any means this is possible with FireWatir, we will be very much
> interested.
>
>
> Thanks
>
> Pallavi.
>
>
> On Tue, Sep 22, 2009 at 5:12 PM, Angrez Singh <[email protected]> wrote:
>
>> Can you share an example as in how you do that in Watir? We are trying to
>> make Firewatir as much compatible with Watir.
>>
>> - Angrez
>>
>>
>> On Tue, Sep 22, 2009 at 4:06 PM, Pallavi Sharma 
>> <[email protected]>wrote:
>>
>>> We have implemented a version of watir where we work with IE Handle,
>>> instead of browser title, we have done this, so as to get rid of complicated
>>> page titles and use multithreading.
>>>
>>> For the same purpose, we are looking for a solution to use FireWatir,
>>> Firefx session to attach to the browser, instead of using title, if anything
>>> of this sort can be used.
>>>
>>> It would be great if anyone can help in here.
>>>
>>> Thanks
>>> Pallavi.
>>>
>>>
>>> On Tue, Sep 22, 2009 at 4:00 PM, Angrez Singh <[email protected]> wrote:
>>>
>>>> Can you tell in brief what you want to accomplish using Firewatir? May
>>>> be people can help you a bit more.
>>>>
>>>> - Angrez
>>>>
>>>>
>>>> On Sat, Sep 19, 2009 at 12:14 PM, Ravinder Singroha <
>>>> [email protected]> wrote:
>>>>
>>>>>
>>>>> Hi All
>>>>>
>>>>> Is there any way to get the browser Mozilla Firefox's session handle
>>>>> using Firewatir ?
>>>>>
>>>>> Thx
>>>>>
>>>>> Ravinder
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to