Re: [Sikuli-driver] [Question #269702]: Sikuli not pausing the script

2015-08-04 Thread Eugene Maslov
Question #269702 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269702

Status: Open = Answered

Eugene Maslov proposed the following answer:
I haven't this problem.
My start script is similar, though not importing time module, as Sikuli imports 
it itself.

I tried to put at the beginning:
popup(start)
wait(120)
popup(after 120 sec)

Starting from both IDE and the command line, the script waits exactly 2 minutes 
between the dialog boxes and then goes ahead.
The same without the dialogs.

Windows 7, SikulixIDE 1.1.0 (2015-07-07), Java SE Runtime Environment
(build 1.7.0_45-b18)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #269702]: Sikuli not pausing the script

2015-07-27 Thread Zoran Lisovac
New question #269702 on Sikuli:
https://answers.launchpad.net/sikuli/+question/269702

I want to pause the execution of the script for 2 minutes:

suite=unittest.TestLoader().loadTestsFromTestCase(Test1) 
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(Test2))

result = XMLTestRunner(file(unittest xml result.xml, w)).run(suite)

in the beginning of the test runner file I  try both:

import time
time.sleep(120)
and
wait(120).

Neither works, tests still start running

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp