dogtail r403 - in trunk: . examples
- From: zcerza svn gnome org
- To: svn-commits-list gnome org
- Subject: dogtail r403 - in trunk: . examples
- Date: Mon, 18 Aug 2008 18:09:15 +0000 (UTC)
Author: zcerza
Date: Mon Aug 18 18:09:15 2008
New Revision: 403
URL: http://svn.gnome.org/viewvc/dogtail?rev=403&view=rev
Log:
* examples/gedit-test-utf8-procedural-api.py: Actually, handle the
file chooser's expander widget more gracefully by looking to see if it has the
'checked' state before expanding it - apparently 'checked' means it is
expanded. Go figure.
Modified:
trunk/ChangeLog
trunk/examples/gedit-test-utf8-procedural-api.py
Modified: trunk/examples/gedit-test-utf8-procedural-api.py
==============================================================================
--- trunk/examples/gedit-test-utf8-procedural-api.py (original)
+++ trunk/examples/gedit-test-utf8-procedural-api.py Mon Aug 18 18:09:15 2008
@@ -60,14 +60,12 @@
focus.dialog('Save as...')
# click the Browse for other folders widget
-click('Browse for other folders')
+focus.widget('Browse for other folders')
+if not focus.widget.checked: click()
# Click the Desktop widget
click('Desktop', roleName = 'table cell')
-# collapse the expander
-click('Browse for other folders')
-
# We want to save to the file name 'UTF8demo.txt'.
focus.text()
focus.widget.text = 'UTF8demo.txt'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]