[Pkg-privacy-maintainers] GUI tests for MAT

intrigeri intrigeri at debian.org
Sat Mar 26 10:52:24 UTC 2016


Hi,

Sascha Steinbiss wrote (10 Mar 2016 21:38:40 GMT) :
>> I'm not familiar with the technologies you used there, but after
>> researching this topic independently, I also picked dogtail for
>> another project. I'm glad we chose the same :)

> :)
> The current state of GUI testing on the Linux desktop is a bit sad, if you ask me.
> LDTP seems to be dead in the water and dogtail looks like it was only recently
> revived and under regular development again. Did you evaluate any other alternatives?

Vaguely: https://tails.boum.org/blueprint/automated_builds_and_tests/testing/
(parts of that survey are probably outdated).

>> +        # XXX: do we have a guarantee that this is not racy,
>> +        # that is, that there is a "Quit" menu item at this point?

> dogtail uses an iterative backoff/retry approach to take the edge off typical timing issues.
> See https://fedorapeople.org/~vhumpa/dogtail/epydoc/dogtail.tree-module.html ->

> “ […] Dogtail implements a high-level searching system, for finding a node (or nodes)
> satisfying whatever criteria you are interested in. It does this with a 'backoff and
> retry' algorithm. This fixes most timing problems e.g. when a dialog is in the
> process of opening but hasn't yet done so.
> If a search fails, it waits 'config.searchBackoffDuration' seconds, and then tries
> again, repeatedly. After several failed attempts (determined by
> config.searchWarningThreshold) it will start sending warnings about the search to the
> debug log. If it still can't succeed after 'config.searchCutoffCount' attempts, it
> raises an exception containing details of the search. […]”

Thanks for clarifying, this addresses my concern (and teaches me
a bit more about dogtail :)

Cheers,
-- 
intrigeri



More information about the Pkg-privacy-maintainers mailing list