LDTP

Linux Desktop Testing Project (LDTP) is aimed at producing high quality test automation framework and cutting-edge tools that can be used to test GNU/Linux Desktop and improve it. It uses the Accessibility libraries to poke through the application’s user interface.

LDTP supported platforms:

  • openSuSE
  • OpenSolaris
  • Debian
  • Madriva
  • Ubuntu
  • Fedora
  • SLES
  • SLED
  • RHEL
  • CentOS
  • FreeBSD
  • NetBSD
  • Windows (XP SP3/Vista SP2/7 SP1/8)
  • Mac OS X (>=10.6)
  • Embedded Platform (Palm Source / Access Company)

LDTP core framework uses Appmap (application map) and the written test-cases to test an application and gives the status of each test-case as output. LDTP can test any .NET / GNOME / KDE (QT >= 4.8) application which are accessibility enabled, Mozilla, Open Office/Libre Office, any Java application.

Setup Development Environment

Install ldtp:

Copy to Clipboard

Enable accessibility:

Copy to Clipboard

Import LDTP modules:

Copy to Clipboard

Reason why we do importing based on the above format instead of ‘import ldtp’ is, if we do the first one, we can just directly use all the ldtp functions just by calling their name. If we import the module as ‘import ldtp’, then we need to call the corresponding function as ldtp.

Enable rdp:

Copy to Clipboard

Run Test

Copy to Clipboard