← Back to team overview

sikuli-driver team mailing list archive

[Bug 1698094] [NEW] Region.paste return0 despite done

 

Public bug reported:

With SIKULIX 1.1.2 2017-06-04


notepad = find("NotePad.png")
print("notepad: %s" % notepad )

PastResult = notepad.paste("test")
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).

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1698094

Title:
  Region.paste return0 despite done

Status in Sikuli:
  New

Bug description:
  With SIKULIX 1.1.2 2017-06-04

  
  notepad = find("NotePad.png")
  print("notepad: %s" % notepad )

  PastResult = notepad.paste("test")
  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1698094/+subscriptions


Follow ups