← Back to team overview

sikuli-driver team mailing list archive

[Bug 1266613] Re: [1.0.1] switchApp("Replace") always succeeds in Win7

 

Should not be, if there is no window, with the word "Replace" in the window title (no matter, wether visible or invisible).
Sikuli itself does not have a window open, that matches.

So in your case, there might be some hidden/invisible windows, that match.
This "problem" is only on Windows, since the implementation behind the App features are system specific.

Example: Firefox or Chrome have "tons" of windows hidden/invisible
depending on the history and state, even if you closed the last visible
window.

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

Title:
  [1.0.1] switchApp("Replace") always succeeds in Win7

Status in Sikuli:
  In Progress

Bug description:
  [Steps to Reproduce]

  (1) Start a machine with Win7.
  (2) Because it's just started, from the Desktop we can see there is no window opened.
  (3) Open Sikuli IDE, run this script:

  switchApp("Replace")

  
  [Actual Result]

  It succeeds.
  But I can't see there is a window with caption "Replace".

  
  [Extra Notes]

  I tried with this script below and the result is the same:

  switchApp("Find")

  Is it because of the searching text field of Sikuli IDE?
  But if I close Sikuli IDE, use Eclipse to call SIkuli's "switchApp", the result is the same.

  I didn't do more tests on other platforms so I can only say "in Win7".

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


References