← Back to team overview

sikuli-driver team mailing list archive

[Question #679034]: Running sikuli scripts directly from .py file rather .sikuli folder

 

New question #679034 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679034

Is it currently possible to execute sikuli scripts from the command line by passing the location of a .py file rather than a .sikuli folder? I've developed a framework that utilizes python's directory standards to categorize our tests and test functions. While it is helpful to be able to open .sikuli folders through the ide and view and edit images in the same directory, I find myself using the IDE less and less since I already have most the images I need stored into variables that I can reference anywhere. It would be nice to not require the .sikuli structure and allow storing the images in any directory and allowing the developer of the scripts to point to that if they want to (similar to the addImagePath function that is already implemented) If this isn't currently possible, can this be added as a feature request? I think it would also be nice to have the ability to import other scripts as well without having them in .sikuli folders.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.