Thursday, 3 October 2013

'xmlrpclib.Fault: Request contains to few param' error when using ldtp

'xmlrpclib.Fault: Request contains to few param' error when using ldtp

I've been trying to use the Windows implementation of LDTP (Cobra) for
testing a stand-alone application within Python. It seems to work fine at
first, albeit running slow most of the time. For example I was able to
select menu items:
selectmenuitem('Sample App','File;New')
However, when I tried to execute any of the following lines:
waittillguiexist('Sample App', 'btnOK')
rightclick('Sample App','tblcBRANCH')
I get the following error in Python:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build\bdist.win-amd64\egg\ldtp\client.py", line 69, in __call__
File "C:\Python27\lib\xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "build\bdist.win-amd64\egg\ldtp\client.py", line 186, in request
xmlrpclib.Fault: <Fault 0: 'Request contains too few param elements based on
method signature.'>
I assume that I may still encounter this error with other functions. Are
there any problems with my installation of LDTP? Any help is very much
appreciated.

No comments:

Post a Comment