ubuntu-menu

Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2008-07-08 11:00:55
Size: 820
Editor: static-101-137-235-87
Comment:
Revision 11 as of 2008-08-25 14:23:31
Size: 1870
Editor: static-101-137-235-87
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
   * Enable the Assistive Technologies (System -> Preferences -> Assistive Technologies)
   {{attachment:assistive.png}}
Line 7: Line 10:
 * Get the latest tests from http://people.ubuntu.com/~ara/ldtp/tests/open_all/latest/
 * Uncompress the tar.gz file
 * Install the latest tests as explained on: https://wiki.ubuntu.com/Testing/Automation/LDTP#Ubuntu%20Desktop%20Tests
 * Move to the openAll folder
Line 11: Line 14:
 ** openAll.xml: it opens every application
 ** Accessories.xml: it opens the applications under the Applications->Accessories menu.
 **
  * openAll.xml: it opens every application
  * Accessories.xml: it opens the applications under the Applications->Accessories menu.
  * Games.xml: it opens the applications under the Applications->Games menu.
  * Graphics.xml: it opens the applications under the Applications->Graphics menu.
  * Internet.xml: it opens the applications under the Applications->Internet menu.
  * Office.xml: it opens the applications under the Applications->Office menu.
  * SoundVideo.xml: it opens the applications under the Applications->Sound & Video menu.
Line 21: Line 29:
=== Reports ===
 
 * Intrepid Alpha3: http://people.ubuntu.com/~ara/ldtp/test_results/intrepid/alpha-3/openAll
 * Intrepid Alpha4: http://people.ubuntu.com/~ara/ldtp/test_results/intrepid/alpha-4/openAll
Line 23: Line 36:
 * Close the applications automatically after the test.
 * Check time and memory and report.
 * Improve the closing of the applications after the test. Right now it only closes the applications that have a "Quit" menu.
 * Some applications differ the window opened depending on the state of the application (i.e. First time wizards v.s. main window). Right now this test only admits to look for one of them. Change it to admit a list of windows to look for.

Summary

It tries to open every application in a clean Ubuntu installation, checking for crashes.

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 openAll folder
  • If you're using Intrepid it might be necessary to restart gnome-panel application to activate the accessibility information.
  • Execute in a terminal ./run_open_test.sh <XML config file>. Where the XML config file can be:

    • openAll.xml: it opens every application
    • Accessories.xml: it opens the applications under the Applications->Accessories menu.

    • Games.xml: it opens the applications under the Applications->Games menu.

    • Graphics.xml: it opens the applications under the Applications->Graphics menu.

    • Internet.xml: it opens the applications under the Applications->Internet menu.

    • Office.xml: it opens the applications under the Applications->Office menu.

    • SoundVideo.xml: it opens the applications under the Applications->Sound & Video menu.

Dependencies

  • python-ldtp >= 1.1.0

  • ldtp >= 1.1.0

  • xsltproc
  • firefox

Reports

TODO

  • Improve the closing of the applications after the test. Right now it only closes the applications that have a "Quit" menu.
  • Some applications differ the window opened depending on the state of the application (i.e. First time wizards v.s. main window). Right now this test only admits to look for one of them. Change it to admit a list of windows to look for.

Testing/Automation/Mago/ubuntu-menu (last edited 2009-06-29 09:16:29 by 63)