|Re: Anyone from Qooxdoo on this newsgroup? [message #48007 is a reply to message #47977]
||Wed, 19 September 2007 10:53
| Benjamin Muskalla
Registered: July 2009
Joel Oliveira wrote:
> We are planing to automate system and acceptance tests using Automate
> (http://www.networkautomation.com/automate/) but we are facing some issues:
> - key events not working on some widgets (I understood that this will be
> fixed soon if not yet);
> - fields/widgets identification (see previous post "Assigning value to
> ID attribute to rendered html components").
> I saw the workaround described on http://wiki.eclipse.org/RapUITesting
> and as posted there, implement automated tests based on sequencial
> generated IDs is a major drawback.
That's true and was just a first expierence of automated tests with RAP
applications. There is still the idea of using XPath expressions (see
wiki page) but that needs some work which is not possible for 1.0.
> We are trying to identify alternative solutions but I didn't saw any
> method in the qooxdoo api that would allow us to add an id/name tag to
> the generated html. This looks to me like a major handicap. Or i'm
> missing some trick?
That's true too. The generated html of qooxdoo does not contain anything
regarding ids or something. The only thing to identify a qooxdoo widget
is to ask with widget.getUserData("id") for the id which is - as you
mentioned above - a real handicap. That's the reason why we did not had
a deeper look at automated tests in the past cause of these problems to
solve. With a little bit hacking you could add a html attribute with
widget.setHtmlAttribute( "id", "foobar" ); but this is not really a nice
solution and would involve hacking the RAP source.
If you or your team has additional thoughts, ideas or dreams don't
hesitate do share them with us as we really want to have a way to test
RAP applications in the future.
> Joel Oliveira
> "Benjamin Muskalla" <email@example.com> escreveu na mensagem
>> Hi Joel,
>> I think it should be no problem to ask them here as you're referring
>> to the qooxdoo integration of RAP. Just give it a try.
>> Joel Oliveira wrote:
>>> Is anyone out there from Qooxdoo team? Or should we use the qooxdoo
>>> I have some questions regarding RAP and Qooxdoo integration (mainly
>>> id attribute and automated tests).
>>> Joel Oliveira
Powered by FUDForum
. Page generated in 0.01999 seconds