How to call for a script from withing another script
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\
and another script saved under:
C:\SikuliX\
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\
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
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by Eugene S
Can you help with this problem?
Provide an answer of your own, or ask Eugene S for more information if necessary.