update-manager

Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2008-07-16 16:58:46
Size: 869
Editor: yttrium
Comment:
Revision 9 as of 2008-08-25 14:23:49
Size: 1159
Editor: static-101-137-235-87
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
It tries to open every application in a clean Ubuntu installation, checking for crashes. Two test cases:

 * It opens the update-manager, unselects all the available updates and checks if download size = 0 and the install button is disabled.
 * It opens the update-manager, checks for updates and install them in case there is any.
Line 8: Line 11:
   attachment:assistive.png    {{attachment:assistive.png}}
Line 10: Line 13:
 * Get the latest tests from the repository: bzr co lp:~apulido/ubuntu-desktop-testing/ubuntu-tests/  * Install the latest tests as explained on: https://wiki.ubuntu.com/Testing/Automation/LDTP#Ubuntu%20Desktop%20Tests
Line 14: Line 17:
 * Execute in a terminal ./run_open_test.sh update_system.xml  * Execute in a terminal ./run_test.sh update_system.xml
Line 26: Line 29:
 * Intrepid: http://people.ubuntu.com/~ara/ldtp/test_results/intrepid/updateSystem  * Intrepid Alpha-3: http://people.ubuntu.com/~ara/ldtp/test_results/intrepid/alpha-3/updateSystem
 * Intrepid Alpha-4: http://people.ubuntu.com/~ara/ldtp/test_results/intrepid/alpha-4/updateSystem

Summary

Two test cases:

  • It opens the update-manager, unselects all the available updates and checks if download size = 0 and the install button is disabled.
  • It opens the update-manager, checks for updates and install them in case there is any.

How to run

  • Enable the Assistive Technologies (System -> Preferences -> Assistive Technologies)

    • assistive.png

  • Install the latest tests as explained on: https://wiki.ubuntu.com/Testing/Automation/LDTP#Ubuntu%20Desktop%20Tests

  • Move to the updateSystem folder
  • If you're using Intrepid it might be necessary to restart gnome-panel application to activate the accessibility information.
  • Edit file update_manager_data.xml with your admin password.
  • Execute in a terminal ./run_test.sh update_system.xml

Dependencies

  • python-ldtp >= 1.1.0

  • ldtp >= 1.1.0

  • ubuntutesting library
  • xsltproc
  • firefox

Reports

Testing/Automation/Mago/update-manager (last edited 2009-06-29 09:16:08 by 63)