← Back to team overview

sikuli-driver team mailing list archive

[Bug 666402] Re: [request] way to run Sikuli's image match preview

 

** Changed in: sikuli
   Importance: Wishlist => Low

** Changed in: sikuli
    Milestone: None => x1.1

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

Title:
  [request] way to run Sikuli's image match preview

Status in Sikuli:
  In Progress

Bug description:
  I would like to request a new flag to the sikuli-ide.sh command that
  would take a parameter of a PNG file, and go directly into the pattern
  match preview popup that the IDE provides when clicking on an image.
  Something like: sikuli-ide.sh -i imageToTest.png

  Rationale: Following an example I saw here, I'm writing a lot of
  Sikuli-enhanced support libraries, using the "execfile()" workaround
  to import the libraries into the Sikuli JUnit scripts. As I get better
  using the Sikuli API, I find that I use the IDE less and less for
  authoring and maintaining scripts, but I do have a need to test image
  matches against various states of the application I'm testing.
  Currently, I work around this by just creating a 'scratch.sikuli'
  project, and I can copy the PNG files I want to test into
  scratch.sikuli and list them in scratch.py.

  I assume that others who develop a test library and a series of
  utility methods have a similar workflow, and I hope it'd be of general
  use to others to test image matching without the IDE.

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