← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #257941]: Integrate Sikuli and Selenium Python on Eclipse IDE

 

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

    Status: Answered => Open

Anubhav is still having a problem:
Hi Raiman,

I want to write Sikuli and Selenium-Python code in a single script in Eclipse IDE and run it using a single interpretor.
below is my simple py script.

from sikuli import *
from Screen import Screen
from selenium import webdriver

def MyHCL():
    s=Screen()
    s.click("D:/Anubhav Data/Project/TestSikuli/img/1415965940913.png")
    print ("Sikuli Code")
    
    driver = webdriver.Firefox()
    driver.get("https://www.myhcl.com";)
    
MyHCL()

However, when i run it through python test, i get an error message “ImportError: No module named sikuli”
When i execute it through Jython test, i get error message "SyntaxError: future feature unicode_literals is not defined”

Can you please suggest if there is any way other than XML-RPC to run
both the sikuli\sel code using a single interpretor ?

Any help will be appreciated.

Thanks
Anubhav Goel

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