Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » IE and WidgetManager
IE and WidgetManager [message #484067] Fri, 04 September 2009 07:57 Go to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Greetings,

I'm using Selenium. Selenium provides references to the Window and
Document at javascript side.

In Firefox there is a reference to WidgetManager, through "window.wm"

However it's not available in IE.

How can I get the reference in IE?


Thanks
Re: IE and WidgetManager [message #484083 is a reply to message #484067] Fri, 04 September 2009 08:50 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Dmitry,

you should not realy to have a window manager instances around with
"window.wm". You should better get the instance of the WidgetManager
directly with

var widgetManager = org.eclipse.swt.WidgetManager.getInstance();

btw: do you have any interest to describe your approach at
http://wiki.eclipse.org/RapUITesting ? That would be awesome!

Regards,
Ben

Dmitry Pryadkin wrote:
> Greetings,
>
> I'm using Selenium. Selenium provides references to the Window and
> Document at javascript side.
>
> In Firefox there is a reference to WidgetManager, through "window.wm"
>
> However it's not available in IE.
>
> How can I get the reference in IE?
>
>
> Thanks
Re: IE and WidgetManager [message #484093 is a reply to message #484083] Fri, 04 September 2009 09:24 Go to previous message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hi Benjamin,

Thanks, it worked. I've also had to evaluate this expression through
window.eval. I'll drop a few words about an approach soon.


Benjamin Muskalla wrote:
> Hi Dmitry,
>
> you should not realy to have a window manager instances around with
> "window.wm". You should better get the instance of the WidgetManager
> directly with
>
> var widgetManager = org.eclipse.swt.WidgetManager.getInstance();
>
> btw: do you have any interest to describe your approach at
> http://wiki.eclipse.org/RapUITesting ? That would be awesome!
>
> Regards,
> Ben
>
> Dmitry Pryadkin wrote:
>> Greetings,
>>
>> I'm using Selenium. Selenium provides references to the Window and
>> Document at javascript side.
>>
>> In Firefox there is a reference to WidgetManager, through "window.wm"
>>
>> However it's not available in IE.
>>
>> How can I get the reference in IE?
>>
>>
>> Thanks
Previous Topic:Custom Widget (Flash) and IE
Next Topic:Why doesn't RMS demo use the IIntroPart?
Goto Forum:
  


Current Time: Thu Apr 25 17:36:16 GMT 2024

Powered by FUDForum. Page generated in 0.02577 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top