Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No keyword with name 'Open Eyes Session' found. #12

Open
qilto opened this issue Apr 12, 2018 · 2 comments
Open

No keyword with name 'Open Eyes Session' found. #12

qilto opened this issue Apr 12, 2018 · 2 comments

Comments

@qilto
Copy link

qilto commented Apr 12, 2018

I am trying to use this library for visual testing, but I am unable to get it working. I am running a test with Robot Framework and I get this error: No keyword with name 'Open Eyes Session' found. It seems that RobotAppEyes was not imported correctly.

The steps I have done so far are:

  1. Used pip install to install RobotAppEyes. This was successful.
  2. Added "Library RobotAppEyes" to the config file.
  3. Added some keyword calls to an existing robot framework test, Open Eyes Session, Check Eyes Window, Close Eyes Session

I have also tried using "Import Library RobotAppEyes" but that gave this error: Importing test library 'RobotAppEyes' failed: ImportError: No module named RobotAppEyes

@sdhall
Copy link

sdhall commented Apr 16, 2018

Please can you provide a sample code that you may have.

@qilto
Copy link
Author

qilto commented Apr 16, 2018

The config file looks something like this:

*** Settings ***
Library Selenium2Library ${SEL_TIMEOUT} ${IMPLICIT_WAIT} ${RUN_ON_FAILURE}
Library RobotLibrary
Library OperatingSystem
Library Collections
Library DateTime
Library String
Library json
Library RobotAppEyes

The keywords I'm trying to run are something like this:
Open Eyes Session ${PTV_PLANNING_URL} PTV Planning Basic test ${API_KEY}
Check Eyes Window PTV Planning
Close Eyes Session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants