gettextvalue in ooldtp is passing one extra argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LDTP |
Fix Released
|
Medium
|
|||
ldtp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-ldtp
In ooldtp.py gettextvalue is passing one more argument to ldtp.gettextvalue.
If you have a text component and want to get the text value, you would do:
textcomponent = mywindow.
mytext = textcomponent.
That would raise an exception: Min 1 argument required
That is not true, as the minimum arguments for ldtp.gettextvalue are only the
context and the component name, which we already have.
Moreover, if you try to pass a fake argument to it, it raise another exception:
File "/var/lib/
return ldtp.gettextvalue (self.__window, name, textProperty, startPosition,
endPosition)
TypeError: gettextvalue() takes at most 4 arguments (5 given)
Changed in ldtp: | |
status: | Unknown → New |
Changed in ldtp: | |
status: | New → Fix Released |
Changed in ldtp: | |
importance: | Unknown → Medium |
This is now available in Intrepid universe