dogtail-devel [Bug 348891] Dogtail misinterprets regexps in strings
- From: "dogtail (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
- To: dogtail-devel-list gnome org
- Subject: dogtail-devel [Bug 348891] Dogtail misinterprets regexps in strings
- Date: Tue, 19 Sep 2006 15:00:39 +0000 (UTC)
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=348891
dogtail | Framework | Ver: CVS HEAD
Len DiMaggio changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |UNCONFIRMED
------- Comment #2 from Len DiMaggio 2006-09-19 14:59 UTC -------
This problem is seen on Fedora FC5 (686 - 2.6.15-1.2054_FC5) with Dogtail and
PYSPI version 0.6x (the same problem is seen with PYSPI and Dogtail built from
CVS head 20060918 22:00 EDT USA).
Here's the scenario, Frysk includes a button with this this text:
(Click Here to Select a Process)
(See the attachment for a screenshot.)
Dogtail can't locate this button - but it is able to locate other buttons that
do not include () in their names - is this being misinterpreted as a regexp?
-------------------------------------------------------
>>> from dogtail.procedural import *
>>> focus.application('Frysk')
>>> click('Debug an Existing Process', roleName='radio button')
click on {child with name="Debug an Existing Process" roleName='radio button'}
>>> click('(Click Here to Select a Process)', roleName='push button')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/dogtail/procedural.py", line 279, in
__call__
Action.__call__(self, name = name, roleName = roleName, description =
description, delay = delay)
File "/usr/lib/python2.4/site-packages/dogtail/procedural.py", line 211, in
__call__
FocusWidget.__call__(self, name = name, roleName = roleName, description =
description)
File "/usr/lib/python2.4/site-packages/dogtail/procedural.py", line 120, in
__call__
raise FocusError, predicate.debugName
dogtail.procedural.FocusError: child with name="(Click Here to Select a
Process)" roleName='push button'
>>> click('Quit', roleName='push button')
click on {child with name="Quit" roleName='push button'}
-------------------------------------------------------
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]