AmailP / robot-plugin

Robot Framework support plugin for IntelliJ Idea
Other
72 stars 38 forks source link

Keyword definition & Variable definition not found error #52

Closed Zabi-Py closed 3 years ago

Zabi-Py commented 6 years ago
  1. Keyword definition not found error is being raised for SeleniumLibrary keywords.
  2. Autocomplete is also not working.
  3. Variable definition not found error is raised even after importing resource file. Can you please resolve this issue and update the plugin accordingly ?

RobotFramework = 3.0.2, robotframework-seleniumlibrary = 3.0.0.b3

Zabi-Py commented 6 years ago

error

michaelzoro commented 6 years ago

I have the same issue. After down-grading to the former Selenium2Library 'robotframework-selenium2library (1.8.0)' all worked fine. I.e. there is some kind of incompatibility of the plugin with 'robotframework-seleniumlibrary (3.0.0)'.

r-roos commented 6 years ago

having the same issue

//Edit most likely the plugin is broken due to the redesigned SeleniumLibrary

alalakina commented 6 years ago

having the same issue robotframework=3.0.2, robotframework-seleniumlibrary=3.0.1

huima commented 6 years ago

Similar issue with robot 3.0.2 without Selenium.

It seems that import of json library does not work, and Generate Random String is not found as well as problems in variable definitions like: &{headers}=

robot-bug1 robot-bug2
OliaVk commented 6 years ago

Experienced the same issue with ExtendedSelenium2Library. The fix for me was to use Selenium2Library. In the original question @Zabi-Py imports SeleniumLibrary, using Selrnium2Library instead, might solve the issue.

MarkJB commented 6 years ago

SeleniumLibrary now uses the Dynamic Library API

Only differences between static and dynamic libraries are how Robot Framework discovers what keywords a library implements

http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#dynamic-library-api

teone commented 4 years ago

Same issue with Golang:

Screen Shot 2020-04-29 at 4 37 25 PM

Keywords from local libraries work perfectly

Robot Framework is installed and the IDE is configured to point to the correct python interpreted

AmailP commented 3 years ago

Closing as a duplicate of #38