sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41024
Re: [Question #406700]: how to give default timeout in sikuli
Question #406700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/406700
chaitu posted a new comment:
myOptions=('none','1.first','2.second','3.Third','4.four','5.five')
choice=select("pick a name",options=myOptions)
when i run this it will display a popup with 5 options in eclipse using
python and jython.
if choice=='1.first':
s=Screen()
s.click("first.png")
s.wait("second.png")
if choice=='2.second'
s=Screen()
s.click("ok.png")
s.wait("yes.png")
like this i wrote it for remaining 3 options also..
when i run this sikuli script in eclipse..It shows the popup with 5
options and when i click First on the popup ,,it will go to that first
module and click and wait functions will be executed.like this the flow
continues.
if i didn't select any option in popup for 20 sec..by default it should
go and run the default section..
how can i give time dealy ?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.