← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #667492]: popAsk return different values when run from command line --- workaround we have to live with

 

Question #667492 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667492

Summary changed to:
popAsk return different values when run from command line --- workaround we have to live with

Description changed to:
Confirmed: On Mac in all cases, On Windows as mentioned only when
running scripts from command line.

workaround: use spacebar instead of enter, which works in all cases.

Seems to be problem with the underlying Java GUI element.

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

When run script from command line and I push Enter key, popAsk return True even if focus is [No] button.
When run script from SikuliX IDE and I push Enter key, popAsk return False if focus is [No] button.

[Operation1]
When popAsk window open, focus is [Yes] button.
After push Tab key, focus is [No] button.
Then push Enter key, popAsk return True.

[Operation2]
When popAsk window open, focus is [Yes] button.
Then click [No] button, popAsk return False.

[Environment]
SikuliX IDE 1.1.1
Java 1.8.0_161
Windows7

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.