← Back to team overview

sikuli-driver team mailing list archive

[Question #276594]: Couldn't able to close the popup window through script

 

New question #276594 on Sikuli:
https://answers.launchpad.net/sikuli/+question/276594

Hi,

In a script called the popup function to  display popup window but i couldn't able to close the popup window through script.
Manually i can close the popup window by ESC or ENTER or ALT+F4  key's or by clicking the OK button on popup window  but through script i cant close the popup window with all manual options.

Code:

popup("Script 115 PASSED", "Script 115 INFO")
wait(5)

type(Key.F4, KeyModifier.ALT))
type(Key.ESC)
type(Key.ENTER)
click(ok.png)

Please suggest me a way to  close the popup window.

thanks and regards
Siddu


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