← Back to team overview

sikuli-driver team mailing list archive

[Question #239839]: Event based execution of script

 

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

I have one situation wherein the 'stop' button disables on GUI when the test is done successfully.

I need to wait on that screen (wait for the 'stop' button to be greyed out ) and then move on to close the window in which this operation is being performed.

I tried the following code :
while exists("img1"): wait(25)
   sleep(1)
    if exists("img2"):
    print "Test Done"



-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.