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

Hi,

There are many questions (and answers) about how to call a function from 
another script. However what I am interested in, is to start a standalone 
Sikuli script from within another script and wait until it's finished before 
proceeding.

For example, I have a full end to end sikuli script, which is saved under:
C:\SikuliX\tests\Scenario1.sikuli 

and another script saved under: 
C:\SikuliX\tests\Scenario2.sikuli


Scenario1 has to be executed prior to Scenario2, hence I want to call 
Scenario1.sikuli from within Scenario2 and continue only when the Scenario1 is 
finished. (Scenario 1 creates some data in files which I use during Scenario2).

I have tried to do something like that from within another script(this is using 
1.0.0 but now I use 1.0.1):
os.system('call C:\Sikuli\sikuli-script.cmd -j6 -r 
C:\Sikuli\Tests\testFlows\Test.sikuli')

In this case, it doesn't throw any error but nothing happens, the execution 
just continues...


Is there any way to create a flow like that? Or maybe I'm missing something..


Thanks!
Eugene


-- 
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

Reply via email to