Thursday, February 16, 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

Thursday, August 25, 2011

11th day of fasting - India against corruption

Anna Hazare the man behind India against corruption movement is fasting for the past 11 days to implement Jan Lokpal Bill in India.
Wow ! I'm amazed, fasting just one day is really hard for me, but this 74 year old man fasting for 11 days. His health condition is good, he walks, talks.

Wednesday, July 27, 2011

ITR with LibreOffice [India]

Kindly note that the ITR1 form for filing income tax returns is successfully migrated to LibreOffice / OpenOffice for this year (Assessment year 2011-2012) and available on the same site, http://freedom-matters.in . Kindly spread the word.

The goal of this endeavour is that no person who wants to file ITR and does not have MS Excel should suffer because of this partiality by the Government. But we are still a long way from this. The problem is, every year the form changes, since tax rules change, so this migration is going to be difficult in future. We need to get the Government / IT Department to stop favouring MS Excel. They are only making it harder for non-MS Office users. Kindly lets continue this discussion and effort to put pressure on the concerned people to make a change in this department.

Tuesday, January 25, 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 here
Download RPM / deb

Tuesday, September 21, 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)

Thursday, July 01, 2010

Nautilus automated test script under Mago applications

As part of an effort to expand Mago a bit by adding nautilus, Jeff Lane from Ubuntu created a launchpad team called mago-applications. It was created to let people interested in adding new applications to Mago collaborate on the same code bases without cluttering up the mago-contributors team.

The way we see it, mago-applications can focus on simply adding new application interfaces and test suites/cases to Mago, while mago-contributors can focus on the core Mago code making sure it works with the latest changes to LDTP and so forth.

So, if you're interested in adding applications to Mago, feel free to join:

https://launchpad.net/~mago-applications

Feel free to create your own branches there to add new apps to Mago, there are plenty that can be added to enhance desktop testing of Ubuntu!

Also, adding an application is a good way to get some experience adding to a project that uses Python, is OO based, complex, and useful!

Thursday, March 25, 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