← Back to team overview

sikuli-driver team mailing list archive

[Bug 1698094] Re: [1.1.x] Region.paste return 0 despite done

 

thanks for finding - fixed

** Changed in: sikuli
       Status: New => Fix Committed

** Summary changed:

- [1.1.x] Region.paste return 0 despite done
+ [1.1.x] Region.paste return 0 despite done --- fixed 1.1.2 2017-07-14

** Changed in: sikuli
   Importance: Undecided => Critical

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.2

-- 
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:
  [1.1.x] Region.paste return 0 despite done --- fixed 1.1.2 2017-07-14

Status in Sikuli:
  Fix Committed

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


References