Mandatory requirements
- GNOME Version - min 2.26 (for LDTPv2)
- GNOME Version - min 2.10 (for LDTPv1)
- Accessibility should be enabled
Install the following development packages
- LDTPv2 requirements
- python-atspi (pyatspi)
- python-twisted-web
- python-gnome
- python-wnck
- LDTPv1 requirements
- at-spi-devel
- gail-devel
- libgail-devel (or libgail-gnome based on your distribution)
- python-devel
- libxml2-devel
Optional Dependency Packages
- LDTPv1 and LDTPv2 optional requirements
Import tool of ImageMagick - To capture a screenshot
Python Imaging Library - Compare images, black out a region in an image
- LDTPv1 optional requirements
pystatgrab - CPU / Memory utilization monitoring library
Linux Test For X - LTFX, To operate on Window / Object which is not accessibility enabled
Setting up LDTP from source
- LDTPv2
check out source from GIT with the following command: 'git clone git://anongit.freedesktop.org/git/ldtp/ldtp2.git'
- When prompted for password enter
- change to the source directory with the following command: 'cd ldtp2'
- build with 'python setup.py build' Assuming that all the above mentioned development packages are installed
- setup with 'python setup.py install' as the root user
- LDTPv1
check out source from GIT with the following command: 'git clone git://anongit.freedesktop.org/git/ldtp/ldtp.git'
- When prompted for password enter
- change to the source directory with the following command: 'cd ldtp'
- build with './autogen.sh --prefix=/usr; make' Assuming that all the above mentioned development packages are installed
- setup with 'make install' as the root user
Install from latest released binaries
From Download page download either rpm or deb package for your distribution
Next step
How to create LDTP test scripts in python
