sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05639
[Question #172448]: using for loop openApp
New question #172448 on Sikuli:
https://answers.launchpad.net/sikuli/+question/172448
Hi,
I have to run a *.exe 99 times until CPU 100%
problem is,when this program was executed over one processing
it will show a Warning Window on screen
but code seems cant click Yes button for me?
first run : open program successfully
98 times : stay at Warning Window
2.How to set time interval in loop?
Thanks!
========================================================
CODE:
if exists( img [Warning Window: Program Already Running] ) :
wait(1)
type(Key.ENTER) #or click( img [Yes] )
else:
for b in range(99):
openApp("C:\Program Files\test\test.exe")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.