Linux Desktop Testing Project

Linux Desktop Testing ProjectDeveloper(s)| Emily Chen, Nagappan A., et al.[1]

|

Initial release| January 28, 2005; 21 years ago (2005-01-28)[2]
Stable release|

3.5.0 / May 1, 2013; 13 years ago (2013-05-01)[3]

Repository| github.com/ldtp/ldtp2
Written in| Python, C#[4]
Operating system| Linux, macOS, Windows[5]
Type| Automated testing
License| GNU LGPL[6]
Website| ldtp.freedesktop.org

The Linux Desktop Testing Project (LDTP) is a testing tool that uses computer assistive technology[7] to automate graphical user interface (GUI) testing.[8] The GUI functionality of an application can be tested in Linux, macOS, Windows, Solaris, FreeBSD, and embedded system environments.[9] The macOS version is named PyATOM,[10] and the Windows version is Cobra.[11] The LDTP is released as free and open-source software under the GNU Lesser General Public License (LGPL).

LDTP can test any accessibility-enabled GNOME application, Mozilla, OpenOffice.org, any Swing-based Java, Qt 4-based and KDE 4.x applications.[12]

LDTP is/was used by the following companies and organizations:[13]

* GNOME
* Mozilla
* Openoffice.org
* KDE
* Novell/SuSE
* Palm Source
* VMware

LDTP can be used to remotely test applications.[14][15]

## Contents

* 1 History
* 2 Example
* 3 Diagram of how LDTP works
* 4 See also
* 5 References
* 6 External links

## History

LDTP version 0.1.0 was released in January 2005 and then showcased and discussed at GNOME Users And Developers European Conference (GUADEC) 2005. It was then used at the Google Summer of Code in 2006[16][17] for Tinderbox integration, Evolution automation, and LDTP regression suite under GNOME organization. Then again in 2007,[18][19] it was used by the Mozilla Foundation for Firefox automation and Tinderbox integration.

## Example

This is an example of how LDTP would test writing in gedit:

#!/usr/bin/env python3

# The standard import stuff.
from ldtp import *
from ooldtp import context as locate
from time import sleep

# Here we open the app.
launchapp("gedit")

# Now we find it and make sure it is open.
gedit_win = locate("*gedit")
gedit_win.waittillguiexist()

# Now we type into gedit.
text_field = gedit_win.getchild("txt1")
text_field.enterstring("G'Day mate!")

# Save a picture to prove we did it.
imagecapture("*gedit", "/tmp/foo.png")

# Quit gedit.
quit = gedit_win.getchild("mnuQuit")
quit.selectmenuitem()

# Close without saving.
dont_save = locate("Question")
dont_save.waittillguiexist()

button = dont_save.getchild("btnClosewithoutSaving")
button.click()

# Wait until gedit is gone.
gedit_win.waittillguinotexist()

## Diagram of how LDTP works

How LDTP works[20]

## See also

* List of Linux GUI testing tools
* Desktop Linux

## References

1. ↑ "Team Members". https://ldtp.freedesktop.org/wiki/TeamMembers/. Retrieved 25 December 2017.
2. ↑ "FAQ". http://ldtp.freedesktop.org/wiki/FAQ/.
3. ↑ LDTP2 Releases \- GitHub
4. ↑ "Linux Desktop Testing Project". https://github.com/ldtp/ldtp2.
5. ↑ "ldtp 3.5.0: Python Pakage Index". https://pypi.python.org/pypi/ldtp.
6. ↑ "Download". http://ldtp.freedesktop.org/wiki/Download/.
7. ↑ "ldtp". http://ldtp.freedesktop.org/wiki/.
8. ↑ "LDTP 3.0 automates GUI testing on Linux - The H Open: News and Features". http://www.h-online.com/open/news/item/LDTP-3-0-automates-GUI-testing-on-Linux-1660613.html.
9. ↑ "ldtp". http://ldtp.freedesktop.org/wiki/.
10. ↑ "pyatom/pyatom - GitHub". https://github.com/pyatom/pyatom.
11. ↑ "ldtp/cobra - GitHub". https://github.com/ldtp/cobra.
12. ↑ "ldtp". http://ldtp.freedesktop.org/wiki/.
13. ↑ "FAQ". http://ldtp.freedesktop.org/wiki/FAQ/.
14. ↑ "Executing scripts remotely". http://ldtp.freedesktop.org/wiki/Executing_scripts_remotely/.
15. ↑ "How to control GNOME apps remotely using LDTP - YouTube". https://www.youtube.com/watch?v=ojAN8MktFHE.
16. ↑ "SoC". http://ldtp.freedesktop.org/wiki/SoC/.
17. ↑ "SoC06". http://ldtp.freedesktop.org/wiki/SoC06/.
18. ↑ "SoC". http://ldtp.freedesktop.org/wiki/SoC/.
19. ↑ "SoC07". http://ldtp.freedesktop.org/wiki/SoC07/.
20. ↑ "ldtp-tutorial". http://download.freedesktop.org/ldtp/doc/ldtp-tutorial.pdf.

## External links

* Official website
* Mago Ubuntu wrapper using LDTP

* v
* t
* e

Linux

Linux kernel|

* History
* Kernel
* Linus's law
* Linux-libre
* Linux startup process
* Linux kernel oops
* Tux
* more…

Controversies|

* Criticism of Linux
* Criticism of desktop Linux
* GNU/Linux naming controversy
* Tanenbaum–Torvalds debate
* SCO and Linux

Distributions|

* General comparison
* Distributions list
* Netbook-specific comparison
* Distributions that run from RAM
* Lightweight
* Security-focused operating system
* Proprietary software for Linux
* Package manager
* Package format
* List of software package managers

Organizations|

* LinuxChix
* Linux Counter
* Linux Documentation Project
* Linux Foundation
* Linux Mark Institute
* Linux User Group (LUG)

Adoption|

* Adopters
* Desktop
* Embedded
* Gaming
* Mobile
* Range of use

Media|

* DistroWatch
* Free Software Magazine
* Full Circle
* Linux.com
* Linux Format
* Linux Gazette
* Linux Journal
* Linux Magazine
* LinuxUser
* Ubuntu User
* Linux Outlaws
* Linux Voice
* LugRadio
* LWN.net
* Open Source For You
* Phoronix
* Revolution OS
* The Code

* Linux
* Linux kernel features
* Portal
* WikiProject

* v
* t
* e

Free and open-source software

General|

* Alternative terms for free software
* Comparison of open-source and closed-source software
* Comparison of source-code-hosting facilities
* Free software
* Free software project directories
* Gratis versus libre
* Long-term support
* Open-source software
* Open-source software development
* Outline

Software
packages|

* Audio
* Bioinformatics
* Codecs
* Collaboration
* Configuration management
* Device drivers
* Graphics
* Wireless
* Geophysics
* Health
* Mathematics
* Operating systems
* Programming languages
* Routing
* Statistics
* Television
* Video games
* Web applications
* Content management systems
* E-commerce
* Word processors
* Android apps
* iOS apps
* Commercial
* Trademarked
* Formerly proprietary

Community|

* Free software movement
* History
* Open-source-software movement
* Organizations
* Events

Licenses|

* AFL
* Apache
* APSL
* Artistic
* Beerware
* Boost
* BSD
* CC0
* CDDL
* EPL
* Free Software Foundation
* GNU GPL
* GNU LGPL
* ISC
* MIT
* MPL
* Ms-PL/RL
* Python
* Python Software Foundation License
* Sleepycat
* Unlicense
* WTFPL
* zlib

| Types and
standards|

* Comparison of free and open-source software licenses
* Contributor License Agreement
* Copyleft
* Debian Free Software Guidelines
* Definition of Free Cultural Works
* Free license
* The Free Software Definition
* The Open Source Definition
* Open-source license
* Permissive software license
* Public domain
* Viral license

|

Challenges|

* Digital rights management
* Firmware security
* Hardware restrictions
* License proliferation
* Mozilla software rebranding
* Proprietary device drivers
* Proprietary firmware
* Proprietary software
* SCO/Linux controversies
* Secure boot
* Software patents
* Software security
* Trusted Computing

Related topics|

* Forking
* GNU Manifesto
* Microsoft Open Specification Promise
* Open-core model
* Open-source hardware
* Shared Source Initiative
* Source-available software
* The Cathedral and the Bazaar
* Revolution OS

*   * Category
* Commons
* WikiProject
* Book

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Linux Desktop Testing Project. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Linux_Desktop_Testing_Project&oldid=4137463"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template