Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Qooxdoo's AutoGenerated IDs
Qooxdoo's AutoGenerated IDs [message #81076] Thu, 03 April 2008 00:23 Go to next message
Eclipse UserFriend
Hi all,

I've recently read from
http://qooxdoo.org/documentation/contrib/simulator/qooxdoo-t ests-with-selenium,
that Qooxdoo developers has added capability to auto-generate IDs on their
widget, can I use this IDs instead the one provided by RAP to test our
application ?

Regards,

Setya
Re: Qooxdoo's AutoGenerated IDs [message #81372 is a reply to message #81076] Fri, 04 April 2008 06:47 Go to previous messageGo to next message
Eclipse UserFriend
As far as I can see you would need to compile qooxdoo again with these
options set. Therefor you'd need to build the RAP qooxdoo out of the
rap.tools project which is really not recommended.

I wonder why you want those ids instead of custom ideas brought to you
by RAP since some time.

Greets
Benny

Setya wrote:
> Hi all,
>
> I've recently read from
> http://qooxdoo.org/documentation/contrib/simulator/qooxdoo-t ests-with-selenium,
> that Qooxdoo developers has added capability to auto-generate IDs on
> their widget, can I use this IDs instead the one provided by RAP to test
> our application ?
>
> Regards,
>
> Setya
>
Re: Qooxdoo's AutoGenerated IDs [message #81401 is a reply to message #81372] Fri, 04 April 2008 08:41 Go to previous messageGo to next message
Eclipse UserFriend
Benjamin,

Thanks for your explanation.

> As far as I can see you would need to compile qooxdoo again with these
> options set. Therefor you'd need to build the RAP qooxdoo out of the
> rap.tools project which is really not recommended.

> I wonder why you want those ids instead of custom ideas brought to you
> by RAP since some time.

The ID generated by RAP is fine actually, but I have a little problem that
I've asked here :

http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg02128.html


Best Regards,

Setya
Re: Qooxdoo's AutoGenerated IDs [message #81430 is a reply to message #81401] Fri, 04 April 2008 09:10 Go to previous messageGo to next message
Eclipse UserFriend
Ok, the advantage of the Ids generated by RAP is that they refer to
widgets as you know them. So it refers to a composite, a tree widget or
a button.

If you'd use the qooxdoo ids you need to care about several things:
a) qooxdoo widgets have other names then swt widgets (they get mapped by is)
b) some swt widgets are created by composition of existing widgets. eg.
a swt tree = a qooxdoo layout with an inner tree.

This would make writing tests much more difficult.

The question you mentioned is hard to answer. But Ralf is true that it
could be the TextSizeDetermination which causes this inconsistency. I'm
not sure at the moment if we can do anything here. if this a real
blocker for you, open a bug. But I can't guarantee that we will fix this
or be able to fix it in a nice way.

Greets
Benny

Setya wrote:
> Benjamin,
>
> Thanks for your explanation.
>
>> As far as I can see you would need to compile qooxdoo again with these
>> options set. Therefor you'd need to build the RAP qooxdoo out of the
>> rap.tools project which is really not recommended.
>
>> I wonder why you want those ids instead of custom ideas brought to you
>> by RAP since some time.
>
> The ID generated by RAP is fine actually, but I have a little problem
> that I've asked here :
>
> http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg02128.html
>
>
> Best Regards,
>
> Setya
>
Re: Qooxdoo's AutoGenerated IDs [message #81463 is a reply to message #81430] Fri, 04 April 2008 10:19 Go to previous message
Eclipse UserFriend
Benny,

> Ok, the advantage of the Ids generated by RAP is that they refer to
> widgets as you know them. So it refers to a composite, a tree widget or
> a button.

> If you'd use the qooxdoo ids you need to care about several things:
> a) qooxdoo widgets have other names then swt widgets (they get mapped by is)
> b) some swt widgets are created by composition of existing widgets. eg.
> a swt tree = a qooxdoo layout with an inner tree.

> This would make writing tests much more difficult.

Your explanation above sounds scary.

> The question you mentioned is hard to answer. But Ralf is true that it
> could be the TextSizeDetermination which causes this inconsistency. I'm
> not sure at the moment if we can do anything here. if this a real
> blocker for you, open a bug. But I can't guarantee that we will fix this
> or be able to fix it in a nice way.

I was wondering if other RAP users ever have similliar problem with me or
maybe they have workaround on this ?

In Bugzilla we have Framework for Unit Tests request here :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=154514

Does RAP team already have plan to address it ?


Best Regards,

Setya
Previous Topic:Drop Down Menu
Next Topic:Button issue
Goto Forum:
  


Current Time: Sat Jul 19 21:34:53 EDT 2025

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

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

Back to the top