← Back to team overview

sikuli-driver team mailing list archive

[Question #271032]: ImportError: No module named robot

 

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

I downloaded Robot Framework module, and copied the folder robot in the SikulixAppData/Lib folder( 
C:\Users\masuo\AppData\Roaming\Sikulix\Lib)

I setup Robot testcase in the SikuliX IDE, and run.
The following error occurred.

Could you tell me what is wrong.
I wrote script by reference to URL(http://www.sikulix.com/support.html).

[error:]
JythonSupport: exec: returns: Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named robot

[Script:]
runScript("""
robot
*** Variables ***

*** Settings ***
Library           ./inline/LoginLibrary
Test Setup        start calc
Test Teardown     stop calc
*** Test Cases ***
case1(1+2)
    calc
    Status Should Be    Accepted
""")

from sikuli import *

class LoginLibrary(object):
  def start_calc(self, page):
    pass
  def stop_calc(self):
    pass
  def calc(self):
    pass
  def status_should_be(self, expected):
    pass

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