← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #226007]: how do i for create one switch test in sikuli?

 

Question #226007 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226007

    Status: Answered => Open

Raphael Silva is still having a problem:
Is right ?

my dir = c:\mylib

import os
dir = os.path.c:\mylib(getBundlePath()) # our working dir with the scripts

# run some scripts in sequence
# run some scripts in sequence
for script in ("LancarItem", "Login"):
    scriptsik = script + ".sikuli"
    scriptpy = os.path.join(scriptsik, script + ".py")
    setBundlePath(os.path.join(dir, scriptsik)) # folder for images
    execfile(os.path.join(dir, scriptpy)) # runs the code

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