sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06833
[Question #178456]: Running multiple sikuli scripts at once
New question #178456 on Sikuli:
https://answers.launchpad.net/sikuli/+question/178456
Hi Raiman,
I want to run multiple sikuli scripts at a time so I searched "166618" helped me in the below code.
import os
dir = "/Users/hari/Desktop/Automation/Sikuli Scripts"
scripts = ["script1", "script2"]
isPassAll = {}
for script in scripts:
isPass = False
scriptPath = os.path.join(dir, script+".sikuli")
setBundlePath(scriptPath)
execfile(os.path.join(scriptPath, script+".py")
isPassAll[script] = isPass
print isPassAll
But on running above code i am getting below error.
[error] Stopped
[error] An error occurs at line 11
[error] Error message:
SyntaxError: ("no viable alternative at input 'isPassAll'", ('/var/folders/7O/7OYo3pwNFseqmd9waLgz3E+++TI/-Tmp-/sikuli-tmp9175779646068011930.py', 11, 4, ' isPassAll[script] = isPass\n'))
Can you please let me know what is the issue.
Thanks,
Hari.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.