ldtp fails with comboselect with error xmlrpclib.Fault: <Fault 8002: ''>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ldtp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
log@stc:
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ldtp import *
/usr/local/
from gi.repository import Wnck as wnck
>>> guiexist ('*KTR')
1
>>> getallitem('*KTR', 'cboAutolvl')
['Auto lvl', 'Auto crd', '1 N', '2 NE', '3 SE', '4 S', '5 SW', '6 NW', '7 WCH', '8']
>>> comboselect('*KTR', 'cboAutolvl', '2 NE')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/
return self.__
File "/usr/lib/
verbose=
File "/usr/local/
raise e
xmlrpclib.Fault: <Fault 8002: ''>
Package: LDTP 3.5.0 released - Tuesday Apr 30 2013
Description: Ubuntu 16.04.4 LTS
Uname: Linux 4.13.0-38-generic x86_64
description: | updated |
It is another way to implement
def selectPosition( nameWin, cbo, nameItem): getallitem( nameWin, cbo).index( nameItem)
position=
click(nameWin, cbo)
for number in range(position):
enterstring ('<down>')
enterstring ('<enter>')