Sunday, February 26, 2012

Announce: Linux Desktop Testing Project (LDTP) 2.3.1 released

About LDTP:

Linux Desktop Testing Project is aimed at producing high quality test automation framework (using GNOME / Python) and cutting-edge tools that can be used to test Linux Desktop and improve it. It uses the Accessibility libraries to poke through the application's user interface. We strive to help in building a quality desktop.

Changes in this release:

Added twisted gtk3reactor
Operate on window name using index, will be helpful with i18n, l10n testing
at-spi2 related fixes to improve test execution time (Ubuntu 12.04)

Special thanks:
Mike Gorse
VMware Desktop UI automation
Dave Morley
Andre Klapper (i18n / l10n suggestions)

Download source / binary / view docs / Report bugs here / subscribe mailing list

For detailed information on LDTP framework and latest updates visit

IRC Channel - #ldtp on irc.freenode.net

Friday, February 17, 2012

Announce: Linux Desktop Testing Project (LDTP) 2.3.0 released

About LDTP:

Linux Desktop Testing Project is aimed at producing high quality test automation framework (using GNOME / Python) and cutting-edge tools that can be used to test Linux Desktop and improve it. It uses the Accessibility
libraries to poke through the application's user interface. We strive to help in building a quality desktop.

Changes in this release:

Added Windows client version for LDTP (Hint: Expect windows version of LDTP soon ;-) )
Updated keycodes based on latest Linux distribution

Bugs fixed:

Fixed twisted gtk2 import in gtk3 environment
Ubuntu 12.04 twisted XMLRPC APIs have been changed, updated accordingly

Special thanks:
Mike Gorse
VMware Desktop UI automation
Tim Miao
Michael Terry
Brain Nitz
Andre Klapper (i18n / l10n suggestions)
Gurdun (To run LDTP from Robot Framework)
Mardy (To run LDTP in QT environment)

Download source

Download RPM
Will schedule deb build in openSUSE build service later

Documentation references:

For detailed information on LDTP framework and latest updates visit

Check LDTP APIs

Report bugs

To subscribe to LDTP mailing lists

IRC Channel - #ldtp on irc.freenode.net

Wednesday, January 26, 2011

Announce: Mago New development release

On behalf of Jean-Baptiste Lallement:

We are pleased to announce the new development release of Mago.

This release has seen a lot of changes and improvements to make Linux
automated desktop testing easier and enable more people to contribute
writing tests and aiming to high quality desktop applications.

Key features included in this version:
- Separation between the framework and the tests
- Support for standard gnome dialogs and authentication
- Easy configuration of the tests with configuration files
- Support for the latest version of LDTP
- Direct interaction with Window Manager via XLib
- Image matching testing with XPresser
- Easy and flexible collect and run with Nose
- Testtools to extend python unittest
- The documentation now uses Sphinx
- Magomatic to generate application map

You want to contribute to the effort?
You can download the source from bazaar at https://launchpad.net/mago

The testsuite is available from lp:~mago-contributors/mago/mago-testsuite

Note that this version is not compatible with the previous version of
mago which is still available from lp:~mago-contributors/mago/mago-1.0

Mailing List:
http://mail.gnome.org/mailman/listinfo/desktop-testing-list

IRC:
#ubuntu-testing in irc.freenode.org
#gnome-testing in irc.gnome.org

Thanks to all the people who contributed fixes, features and lot of tests.

Announce: Linux Desktop Testing Project (LDTP) 2.1.0 released

Changes in this release:

Added documentation files from LDTPv1 and updated accordingly
Search object name as unicode character and mutliline
Print Unicode exception, instead of string. Printing string fails, if non-ascii strings are in exception string

Performance improvement:

When looking for object inside a window without any delay, utilize all the CPU, just delay the lookup every 2 seconds
Don't force remap on gechild, getobjectlist, getobjectproperty, unless the window object is changed, as this utilizes more CPU

New API:

getmax - Get max value of spin button
getmin - Get min value of spin button
startlog - Start logging to file
stoplog - Stop logging to file
startprocessmonitor - Start monitoring the given process
stopprocessmonitor - Stop monitoring the given process
getcpustat - Get the current CPU statistics of the given process
getmemorystat - Get the current memory statistics of the given process
registerkbevent - Register keyboard event
deregisterkbevent - De-Register keyboard event
getobjectnameatcoords - Get window / object name in LDTP format based on the current mouse co-ordinates

Bugs fixed:
619575: Raise a more descriptive error when a child is not found
620343: setcellvalue is not implemented in LDTP2
624690: LDTP2.0.6 cannot type comma ', ' use function 'enterstring'
624678: Cannot identifiy some dialogs of OpenOffice3.2
635047: 'comboselect' doesn't work when specify component name listed in 'getobjectlist'
638229 - onwindowcreate fails with CannotSendRequest with python2.7
638226 - Missing import socket in ldtp/__init__.py

Special thanks:
Ara Pulido, JB Lallement - Ubuntu Mago team
Eitan Isaacson
Brian Nitz - Oracle / Sun

Download source
Download RPM / deb

Wednesday, September 22, 2010

Hudson X11 Automated GUI Testing

Hudson X11 Automated Testing - To run GUI automated test in Hudson environment. Ara Pulido, demonstrated me, how to setup Hudson and to run some Mago test. The tests were failing, as the ldtp daemon failed to load. When I started poking, I found, the tests can run only in console mode. We need to start a X session, then need to start the test. Even, after this, the tests were failing. Setting DISPLAY doesn't help ! Accessing accessibility service from terminal failed, as AT_SPI_IOR not set from the terminal.

To overcome, this issue, implemented a service and a client, the service runs during the gnome-session startup.

The service (UNIX socket) listens for commands from client, once received execute them in the shell and returns back both stdout and stderr. Just one command per request, not to make things complicated ;-)

During the test, X session will be started with Xvfb, need to evaluate X dummy driver instead. Accessibility, should be enabled and gnome screen saver, should be disabled, before starting the test. Requirement for LDTP tests.

More about this, available here (documented by Ara) and here, also FAQ

Note: Currently tested with GNOME Desktop on Ubuntu Linux using Mago and LDTP from GIT head

Special thanks to Ara Pulido (Ubuntu), Brian Nitz (Sun / Oracle) and Tyller Ballance (Hudson team)

Friday, March 26, 2010

Announce: Linux Desktop Testing Project (LDTP) 2.0.4 released

Changes in this release:

LDTPv2 hang in Ubuntu 10.04 is fixed
Don't navigate table cell, as it causes more resource and time in OpenOffice calc
Added new API simulatemousemove for DnD test (VMware Workstation / Player Unity-GHI feature)
Patch by Ara Pulido for b.g.o bug # 612311
Listen all Window events, else new application like Firefox is not listed
waittillguiexist now can wait for state as well
hasstate can wait for given time till the state is True

Special thanks to Eitan Isaacson [1], Ara Pulido [2], James Tatum [3], Anupa Kamath [VMware, India], Slava Podokshik [VMware, USA]

Download source:
http://download.freedesktop.org/ldtp/2.x/2.0.x/ldtp-2.0.4.tar.gz

Download RPM from
http://download.opensuse.org/repositories/home:/anagappan:/ldtp2:/rpm/
Will schedule deb build in openSUSE build service tomorrow

For detailed information on LDTP framework and latest updates visit http://ldtp.freedesktop.org

For information on various APIs in LDTP including those added for this release can be got from http://ldtp.freedesktop.org/user-doc/index.html

Report bugs - http://ldtp.freedesktop.org/wiki/Bugs

IRC Channel - #ldtp on irc.freenode.net

[1] - http://monotonous.org/
[2] - http://ubuntutesting.wordpress.com/
[3] - https://launchpad.net/~jtatum

Wednesday, January 27, 2010

Announce: Linux Desktop Testing Project (LDTP) 2.0.2 released

Hello,

About LDTP:

Linux Desktop Testing Project is aimed at producing high quality test automation framework (using GNOME / Python) and cutting-edge tools that can be used to test Linux Desktop and improve it. It uses the Accessibility libraries to poke through the application's user interface. We strive to help in building a quality desktop.

Changes in this release:

Fixed ldtp binary name and now it spits out the version info
Updated README and AUTHORS file
Fixed OpenSolaris bug reported by Qinghua Cheng

Acknowledgement:

Ara Pulido[1] requested the above change for backward compatibility. Thanks to Ara, Conny.

Download RPM from http://download.opensuse.org/repositories/home:/anagappan:/ldtp2:/rpm
Will schedule deb build tomorrow

Download source http://download.freedesktop.org/ldtp/2.x/2.0.x/ldtp-2.0.2.tar.gz

Documentation references:

For detailed information on LDTP framework and latest updates visit http://ldtp.freedesktop.org

For information on various APIs in LDTP including those added for this release can be got from http://ldtp.freedesktop.org/user-doc/index.html

Report bugs - http://ldtp.freedesktop.org/wiki/Bugs

To subscribe to LDTP mailing lists, visit http://ldtp.freedesktop.org/wiki/Mailing_20list

IRC Channel - #ldtp on irc.freenode.net

Thanks
Nagappan

[1] - http://ubuntutesting.wordpress.com/