sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21164
Re: [Question #234363]: How to call for a script from withing another script
Question #234363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234363
Status: Open => Answered
RaiMan proposed the following answer:
If the "Call script" should do the same as the given command, it should
be (with a slight modification to make it more flexible)
import os
test = "AD"
script = r"C:\SikuliX\Tests\testFlows\IAMTests\" + test + ".sikuli"
save = getBundlePath()
setBundlePath(script)
execfile(os.path.join(script, test +".py")
setBundlePath(save)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.