To call Sikuli code from Selenium, my first choice would be to offer TestAutomationEngr using Java, since Selenium and Sikuli have their own Java bindings.
Since you want to use Python, you should try running Selenium under Jython. It is important to remember that Sikuli is Jython, so you probably cannot import it. (Another reason is that you do not have it in the path to the Jython module.) I have not tried this myself, but last year a bug was fixed in Selenium, which indicates that this should be good in Jython.
Please note that if you call Sikuli code directly from Jython, you need to add
from sikuli.Sikuli import *
up. This is because the Sikuli IDE implicitly adds this to the entire Sikuli code.
Finally, in the latter case, you must call Sikuli from the command line. There is a FAQ for . You probably need a "no IDE" version where you call Java and pass the sikuli- script JAR file.
source share