As best I can tell, dogtail doesn't exit with a non-zero status when something goes wrong. This makes writing automated test scripts more difficult. --- I'm not sure how to create a frysk-gui/tests testcase for this.
Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=345019