Re: dogtail-devel rocknrole - extending dogtail tree api approach
- From: <attila domokos nokia com>
- To: <anand harihara gmail com>, <dogtail-devel-list gnome org>
- Subject: Re: dogtail-devel rocknrole - extending dogtail tree api approach
- Date: Mon, 17 Mar 2008 09:48:29 +0200
Hi,
I've got the thumb up from our
Legal department to open up the subversion, so in case you're still
interested in the class written below, please feel free to try it out and give
feedback. Also we would contribute it to Dogtail if maintainers find it
useful.
We extended it to support sending X-events using
xautomation. Please refer to syntax rocknroleSyntax.txt
(see the example: gcalctool-unittest-rnr.py)
Best regards,
Attila.
Greetings.
We have been using dogtail in Nokia for
automating testing of hildon-widgets and some hildon-applications.
We
decided to extend the approach of using the tree APIs (did not focus much on
the procedural-way).
What started as writing wrappers for individual
applications and helper-functions took a different turn as we moved
along.
A small class was developed to hold a dogtail node and all the
nodes under it as attributes and some search utilities were written.
After
some syntactic-sugar-sprinkling, to aid faster development and easier
maintenance, we had the class RNR (rocknrole - as it works on
rolenames).
A few methods have been added to be used with
unittest - some to check states and another to help compare screenshots
of nodes, the last is an extension of utils.screenshots function from dogtail.
If many people find it useful, please
feel free to include it as part of the dogtail package.
Any feedback,
suggestions and dogtail t-shirts are greatly appreciated :)
Best
Regards,
Anand
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]