https://bugzilla.gnome.org/show_bug.cgi?id=638229 LDTP | ldtp2 | unspecified
Nagappan <nagappan> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nagap...@gmail.com --- Comment #1 from Nagappan <nagap...@gmail.com> 2010-12-29 00:00:02 UTC --- I modified the code to work with gedit and it works fine ! #!/usr/bin/python import ldtp, ooldtp def cb(*data): print "=== in dlgAuthenticate" ldtp.waittillguiexist('dlgFind') for arg in data: print arg ldtp.launchapp('gedit') ldtp.waittillguiexist('*-gedit') ldtp.wait(1) ldtp.onwindowcreate('dlgFind', cb, 'SuperSecretPassword') print "=== clicking btn2" ldtp.click('*-gedit', 'btnFind') print "=== btn2 clicked" ldtp.wait(2) console output: n...@nagappan-laptop:/tmp$ python test.py ** (-c:6223): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags' ** (-c:6223): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags' ** (-c:6223): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags' GTK Accessibility Module initialized === clicking btn2 === btn2 clicked === in dlgAuthenticate SuperSecretPassword -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev