← Back to team overview

sikuli-driver team mailing list archive

[Question #243872]: Issue on unnecessary popups

 

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

I have written a script it runs correctly, but what i want to do,  some times i get some unnecessary popups in the application,

ex. if i get a popup   like   446541.png it should go with a click and if that popup does not appears then it would go to next process,

i think we can can do it in if condition that if it get that particular image(   446541.png) then it will click 'OK' on that popup and if it does not found it would be fine ....i am trying to write like


if 446541.png .exist
 
click 116543.png

else:

click 78441856.png       i know this is incorrect code, so how it should be ?

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