Update on porting autopilot tests to 1.3

Dan Chapman daniel at chapman-mail.com
Tue May 28 15:21:22 UTC 2013


Hi everyone,

just thought i would give a quick update on the status of porting the 
autopilot test cases since the last hackfest (check out the notes 
http://pad.ubuntu.com/CFXkuLR7Lb) and what is working/needs reviewing 
and testing.

*Firefox: *nskaggs completed this and is now merged to the production 
branch. The test was converted to using the ProcessManager class as 
introspecting firefox was not possible.
*
Evince: *has been ported to 1.3 using introspection, the test is working 
good and has been proposed for merge. Currently it could still do with 
the open and print dialogs being introspected, as it is still currently 
using keyboard shortcuts to navigate. Also i think this test case could 
be further expanded as it still misses some features that can be 
introspected
Currently it tests

      * Display pdf
      * Enter & Exit fullscreen
      * Show & Hide sidebar
      * Rotate document

Maybe we could add tests for zoom, bookmark and presentation features? 
Whats your thoughts?

*File-Roller: *ported to 1.3 using introspection and has been proposed 
for merge. It is currently using the archive created in the first test 
across all the tests. So the tests are unable to be called and run 
independently from each other. Could do with modifying to make each test 
self contained.

I could not find a sane way to select/choose an archive format so 
currently it works with whatever your default archive is and collects 
the name of the archive from the window title so can be deleted 
successfully.
Anyone have any ideas on accessing the items in a GtkComboBoxText 
control and getting the selected item?

*Gedit: *Letozaf has been working on this and has proposed a merge.

*Nautilus: *Has been ported to 1.3 but unable to introspect due to 
autopilot module not loading, So currently using the ProcessManager. 
This test is still very basic in that it just creates and deletes a 
directory. As this is probably the most used application on ubuntu it 
should probably have an extensive test to match the current 
manual-test-case as much as possible.

*Shotwell: *Still to be ported to autopilot 1.3

*Totem: *nskaggs is working on this.... I think??

*Screenshot:*when running autopilot launch gnome-screenshot it 
automatically takes a screenshot of the whole screen and loads on to the 
save screenshot window. This is the same when just running 
gnome-screenshot in the terminal. Is this a bug i couldnt find a bug 
like this. Or is this the default behaviour when launching it from terminal?

Also the same when lauching the application with launch_test_application()

screenshot can be introspected but cannot get into the main window to 
test taking different shots. This needs looking into further.

*Terminal:*ported to 1.3 using ProcessManager, it would be great to be 
able to introspect terminal in the near future, get some more assertions 
in there then, and remove alot of the keyboard calls. :) Like navigating 
the preferences dialog etc.

It would be great if people could test the current Production and 
Proposed tests to get feedback. So if anyone has the time please fell 
free to test them.

Regards

Dan Chapman
**


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-quality/attachments/20130528/3c43462f/attachment.html>


More information about the Ubuntu-quality mailing list