Talk:Linux Desktop Testing Project

{{oldafdfull| date = 16 March 2014 (UTC) | result = no consensus | page = Linux Desktop Testing Project }}

{{WikiProject banner shell|class=Start|

{{WikiProject Computing |importance=Low |free-software=yes |free-software-importance=Low |software=yes |software-importance=Low }}

}}

Example does not work anymore?

I've tested on modern installs of Lubuntu and Debian and using Travis CI. In all cases, the example fails. It does start gedit, then quits.

Does it still work at all?

Bilderbikkel (talk) 11:51, 17 March 2017 (UTC)

== details ==

When saving the example to a script like 'test.py', then doing

sudo apt-get install ldtp python-ldtp

python test.py

the error is

Traceback (most recent call last):

File "test_ldtp.py", line 16, in

text_field = gedit_win.getchild('txt1')

File "/usr/lib/python2.7/dist-packages/ooldtp/_context.py", line 83, in getchild

matches = self._remote_getchild(child_name, role)

File "/usr/lib/python2.7/dist-packages/ooldtp/_context.py", line 102, in __call__

return self._func(self._window_name, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/ldtp/client.py", line 70, in __call__

return self.__send(self.__name, args)

File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request

verbose=self.__verbose

File "/usr/lib/python2.7/dist-packages/ldtp/client.py", line 185, in request

raise LdtpExecutionError(e.faultString.encode('utf-8'))

ldtp.client_exception.LdtpExecutionError: Could not find a child name "txt1"