← Back to team overview

sikuli-driver team mailing list archive

[Bug 1243479] Re: [1.0.1] IDE: renaming an image should rename all occurrences in the script --- workaround

 

** Changed in: sikuli
    Milestone: 2.0.0 => 2.0.1

** Changed in: sikuli
       Status: Fix Committed => In Progress

** Summary changed:

- [1.0.1] IDE: renaming an image should rename all occurrences in the script --- workaround
+ [check] IDE: renaming an image should rename all occurrences in the script --- workaround

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

Title:
  [check] IDE: renaming an image should rename all occurrences in the
  script --- workaround

Status in Sikuli:
  In Progress

Bug description:
  ************ workaround
  use 
  img = "123.png"
  find(img)
  wait(img)

  or rename the first occurrence and then switch to text view of script (View -> menushowthumbs (ctrl/cmd T)
  and rename the others manually (use the text search option)
  switch back using ctrl/cmd-T

  -----------------------------------------------------------------------------

  [Precondition]
  sikuli version:1.0.0
  os: win7 64; xp 32;
  reproduce:100%;

  [Steps]
  1. New a script.
  2. Use a command find(123.png).
  3. Use a another command  wait(123.png)
  4. click the 123.png in the editpane.
  5. It will pop up a dialog.
  6. Modify the picture'name from 123.png to test.png, then save this change.
  7. Run the script.

  [Expect Result]
  The script will run normal.

  [Observer Result]
  The script will not run normal.
  Because of the first picture not be recognized by editor.

  [Comments]
  Like this: If one picture be used many place, you modify one of them name,  the result is: only one picture be changed, the others not be changed in editor UI.

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


References