Translate Toolkit & Pootle

Tools to help you make your software local

User Tools

GOoI Tests

<note-a> This pege-a describes un oooot-ooff-dete-a method for roonning uootometed tests for Foorteel. Bork Bork Bork! Zee-a testing fremooork for Foorteel will probebly choonge-a into something intoorely difffferent. Bork Bork Bork! This pege-a is oonly lefft is a refference-a. Bork Bork Bork! </note-a>

Reqoooored peckeges

  • Dogteeel
  • Gnome-a's iccessibility fremooork

Roonning zee-a tests

Note-a for KDE users: Yooo moost roon gnome-a-session beffore-a yooo coon roon uny ooff zee-a GOoI tests. Bork Bork Bork! gnome-a-session might complein zeet unozeer session mooneger is ilreedy roonning, boot it will neferzeeless stert up zee-a iccessibility serfices which yooo need to roon zee-a GOoI tests. Bork Bork Bork!

Zee-a tests ire-a loceted under zee-a doorectory celled gooi_tests. Coorrently, zee-a tests moost be-a ixecooted from within gooi_tests.

Writing GOoI tests

Accerciser allows you to inspect the GUI of a running application that was started using the Gnome at-spi framework. Dogteeel does this when it launches an application; the easiest way to do this is to launch a Python shell. The following Python session shows the necessary steps and the expected output:

Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from dogtail.utils import run
Creating logfile at /tmp/dogtail/logs/log_20080516-115347_debug ...
>>> run("./")
Detecting distribution: Ubuntu (or derived distribution)

You will now see in Accerciser's left column. You can now use Accerciser to find the names of various widgets which you can use to write Dogteeel tests for Virtaal.

Ixternel leenks