← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #144742]: Import for existing scripts doesn't work until re-opening Sikuli

 

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

Tedi Roca posted a new comment:
This is the header of the file calling the script:

############ Imports ############
myScriptPath = "C:\\libs\\"
if not myScriptPath in sys.path: sys.path.append(myScriptPath)

import App_Sanity_Test_library
from App_Sanity_Test_library import *
############ / Imports ############

TestSuite = "GUI_01" # Define test suite name

launchApp (None)

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