Content deleted Content added
Added more info and refs |
#suggestededit-add-desc 1.0 Tags: Mobile edit Mobile app edit Android app edit |
||
(48 intermediate revisions by 21 users not shown) | |||
Line 1:
{{Short description|Testing tool that uses computer assistive technology}}
{{Infobox software
| name = Linux Desktop Testing Project
| developer = Emily Chen, Nagappan A., et al.<ref>{{cite web|title=Team Members|url=https://ldtp.freedesktop.org/wiki/TeamMembers/|website=ldtp.freedesktop.org|accessdate=25 December 2017}}</ref>
|
| latest release version = 3.5.0
| latest release date = {{Start date and age|2013|05|01}}<ref>[https://github.com/ldtp/ldtp2/releases LDTP2 Releases] - GitHub</ref>
| repo = {{URL|https://github.com/ldtp/ldtp2}}
| programming language = [[Python (programming language)|Python]], [[C Sharp (programming language)|C#]]<ref>{{cite web|title=Linux Desktop Testing Project|url=https://github.com/ldtp/ldtp2|website=dtp/ldtp2|access-date=25 December 2017 |via=[[GitHub]]}}</ref>
| operating system = [[Linux]], [[macOS]], [[Windows]]<ref>{{cite web |url=https://pypi.python.org/pypi/ldtp |title=ldtp 3.5.0: Python Pakage Index}}</ref>
| genre = [[Automated testing]]
|
|
}}
The '''Linux Desktop Testing Project''' (LDTP) is a
LDTP can test any accessibility-enabled [[GNOME]] application, [[Mozilla]], [[OpenOffice.org]], any Swing-based [[Java (programming language)|Java]], [[Qt
LDTP is/was used by the following companies
* [[GNOME
* [[Mozilla
* [[Openoffice.org
* [[KDE
* [[Novell]]/[[SUSE S.A.|SuSE
* [[Access Systems Americas|Palm Source
* [[VMware
LDTP can be used to remotely test applications.<ref>{{cite web |
LDTP version 0.1.0 was released in January 2005 and
▲==History.==
▲LDTP version 0.1.0 was released in January 2005 and was then showcased and discussed at GUADEC 2005. It was then used at the [[GoC |Google Summer of Code]] in 2006 for 'Tinderbox integration', 'Evolution automation', and 'LDTP regression suite' under [[GNOME]] organisation. Then again in 2007, it was used by the Mozilla Fondation for Firefox automation and Tinderbox integration.
==Example==
This is an example of how LDTP
<syntaxhighlight lang="python">
#!/usr/bin/
# The standard import stuff.
from ldtp import *
from time import sleep
# Here we open the app.
launchapp(
# Now we find it and make sure it is open.
gedit_win = locate(
gedit_win.waittillguiexist()
# Now we type into gedit.
text_field = gedit_win.getchild(
text_field.enterstring(
# Save a picture to prove we did it.
imagecapture(
# Quit gedit.
quit = gedit_win.getchild(
quit.selectmenuitem()
# Close without saving.
dont_save = locate(
dont_save.waittillguiexist()
button = dont_save.getchild(
button.click()
# Wait until gedit is gone.
gedit_win.waittillguinotexist()
</syntaxhighlight>
==Diagram of how LDTP works==
== References ==▼
{{Wide image|Ldtp-workings.svg|700px|How LDTP works<ref>{{cite web |url=http://download.freedesktop.org/ldtp/doc/ldtp-tutorial.pdf |title=ldtp-tutorial}}</ref>|100%|center|alt=Diagram of the workings of LDTP}}
{{Reflist|30em}}▼
== See also ==
{{Portal|Free and open-source software}}
* [[List of Linux GUI testing tools]]
* [[Desktop Linux]]
▲== References ==
==External links==
*
* [https://web.archive.org/web/20090717224205/http://mago.ubuntu.com/FrontPage Mago] Ubuntu wrapper using LDTP
{{Linux}}
|