Why do I need to call highlight two times
Asked by
Mikael Wallin
My code: (in java)
1. screen.setRect(x1, y1, w1, h1).highlight();
2. popup("check 1");
3. screen.setRect(x2, y2, w2, h2).highlight();
4. popup("check 2");
At step 4 I don't see any highlight. To see the highlight I need to add an additional highlight.
1. screen.setRect(x1, y1, w1, h1).highlight();
2. popup("check 1");
3. screen.setRect(x2, y2, w2, h2).highlight();
4. screen.setRect(x2, y2, w2, h2).highlight();
5. popup("check 2");
Why?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.