Let’s test Ubuntu NOW!

Making Ubuntu better, if possible

Accessibility (lack-of) information

with 3 comments

One of the main issues when getting information from the AT-SPI layer is that most of the accessibility information is missing. Names are almost never set, therefore, objects take the name of the current text.

This is something generally painful, as tests will need to be localized for each language. Let’s imagine that we have a form called “Update Manager”, then the object would be frmUpdatemanager. If we change the target system language, let’s say, to Spanish, then the window will be named “Gestor de Actualizaciones”, and the accessibility information in this case would be frmGestordeactualizaciones.

As I wrote in my previous post, we are trying to separate as much as possible this kind of information from the scripts code. Apart from having classes for the common activities with applications, the text in windows, buttons, etc. is maintained in a separate file, ubuntu_constants.py that will be, eventually, the only file to be changed when porting the tests to a different language.


Written by Ara Pulido

August 7, 2008 at 3:24 pm

Posted in Uncategorized

Tagged with , ,

3 Responses

Subscribe to comments with RSS.

  1. Ara, I suggest to use the window label as it is, where ever possible, instead of LDTP convention ! Try avoid using frm, dlg etc.


    August 8, 2008 at 3:25 am

  2. Thanks for the advice šŸ™‚
    The thing is that I normally get better recognition results when using LDTP convention, and I would like to have a consistent syntax throughout the framework. Why do you recommend avoiding the frm, dlg, etc. syntax?


    August 8, 2008 at 6:12 am

  3. […] 12, 2008 in Uncategorized In the previous post we talked about the difficulties when trying to recognize widgets through its accessibility […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: