Content deleted Content added
#suggestededit-add-desc 1.0 Tags: Mobile edit Mobile app edit Android app edit |
|||
(22 intermediate revisions by 20 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
| operating system = [[Linux |Linux]], [[OS X |OS X]], [[Microsoft Windows |Windows]] <ref>{{cite web | url=https://pypi.python.org/pypi/ldtp | title=ldtp 3.5.0 : Python Pakage Index}}</ref>▼
| 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 = [[
| genre = [[Automated testing]]
|
|
▲{{URL|https://github.com/ldtp}}
}}
The '''Linux Desktop Testing Project''' (LDTP) is
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]]
Line 27 ⟶ 24:
* [[Openoffice.org]]
* [[KDE]]
* [[Novell]]/[[SUSE S.A.|SuSE]]
* [[Access Systems Americas
* [[VMware]]
LDTP can be used to remotely test applications.<ref>{{cite web |
==History==
LDTP version 0.1.0 was released in January 2005 and then showcased and discussed at
==Example==
Line 43 ⟶ 38:
This is an example of how LDTP would test writing in [[gedit]]:
<
#!/usr/bin/
# The standard import stuff.
Line 52 ⟶ 47:
# 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("G'Day mate!")
# 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==
▲[[File:Ldtp-workings.svg|thumb|700px|How LDTP works.<ref>{{cite web | url=http://download.freedesktop.org/ldtp/doc/ldtp-tutorial.pdf | title=ldtp-tutorial}}</ref>]]
== References ==▼
{{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}}
|