GNOME Bugzilla – Bug 404310
dogtail recorded script is failing unexpectedly
Last modified: 2007-02-04 17:20:11 UTC
Please describe the problem: I'm starting to use dogtail to write test scripts for fedora.... starting with packages I maintain. I used dogtail to script a test of gpodder under fc6 and the recorded script fails unexpectedly on a button press in the recorded script. Steps to reproduce: 1. under fc6 install the gpodder package 2. make sure the .config/gpodder directory does NOT exist 3. use dogtail to generate a script which includes a button press in the dialog window telling you there are no channels configured 4. make sure the .config/gpodder directory does NOT exist 5. run the dogtail generated script and watch it traceback when attempt to close that dialog window. Actual results: dogtail generated python script tracebacks trying to hit the okay button. Expected results: the dogtail generated script should be able to interact with the button Does this happen every time? yep Other information: I'm going to attach a specific dogtail generated script that fails.
Created attachment 81880 [details] Here is a dogtail generated script that should work with gpodder Make sure you run the script with a user who does not have a pre-existing .config/gpodder directory, to ensure you get the normal first interaction experience. If you have channels already defined in the userspace gpodder configs the interaction will differ from that expected by the script.
Nevermind. I had a stale gpodder process running that was confusing dogtail... the script works.