[1.1.x] Region.paste return 0 despite done --- fixed 1.1.2 2017-07-14
Bug #1698094 reported by
David ENJOLRAS
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
With SIKULIX 1.1.2 2017-06-04
notepad = find("NotePad.png")
print("notepad: %s" % notepad )
PastResult = notepad.
print("PastResult: %d" % PastResult )
=======
The text "test" is well added in the NotPad
output is :
notepad: M[21,553 376x158]@S(S(0)[0,0 1680x1050]) S:1,00 C:209,632 [422 msec]
PastResult: 0
=======
Given documentation, return should be "1"
paste([PSMRL], text)
Paste the text at a click point.
...
Returns:
the number 1 if the operation could be performed, otherwise 0 (integer null), which means, that because of some reason, it was not possible or the click could be performed (in case of PS may be not Found).
summary: |
- Region.paste return0 despite done + [1.1.x] Region.paste return 0 despite done |
To post a comment you must log in.
thanks for finding - fixed