[check] switchApp("Replace") always succeeds in Win7
Bug #1266613 reported by
Parn Yin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
Medium
|
RaiMan |
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(
[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".
summary: |
- switchApp("Replace") always succeeds in Win7 + [1.0.1] switchApp("Replace") always succeeds in Win7 |
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
Changed in sikuli: | |
milestone: | 1.1.0 → 1.2.0 |
summary: |
- [1.0.1] switchApp("Replace") always succeeds in Win7 + [check] switchApp("Replace") always succeeds in Win7 |
Changed in sikuli: | |
milestone: | 2.0.0 → 2.0.1 |
To post a comment you must log in.
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.