robot-plugin icon indicating copy to clipboard operation
robot-plugin copied to clipboard

Robot Framework Support Plugin does not work with Pycharm community Edition.

Open gurudattamn opened this issue 7 years ago • 8 comments

Hi, Follow the below steps in order to reproduce the issue.

  1. Download the latest version of pycharm community edition from the jetbrains website.
  2. Install both robot framework support(0.16.2) and Intellibot(0.10) plugins.
  3. Import the Selenium2Library to a .robot file under the Settings section as below *** Settings *** Library Selenium2Library
  4. Highlight the text "Selenium2Library" and press the key Ctrl + B.

I was not able to go to the source python file and keywords present in selenium2library were not shown. The same problem is seen even with the user defined library also.

Let me know if you require any more info in this regard.

gurudattamn avatar May 18 '17 05:05 gurudattamn

I got the same problem. but just for user define keywords, selenium2library works well.

crazy-canux avatar Jul 06 '17 06:07 crazy-canux

finally, it's import issue. make sure you import the keywors into robot.

crazy-canux avatar Jul 06 '17 06:07 crazy-canux

Hello Canux,

Would you please let us know how to make it working? From our side, we tried to use the Library Selenium2Library, not working. Something wrong on our side?

issue

Thank you, Ken

Kenith avatar Sep 05 '17 06:09 Kenith

Is this related to the relative path of the library? I import the relative path, the syntax is not highlighted

firefoxwang avatar Sep 06 '17 02:09 firefoxwang

Hello Wang,

We tried to import the absolute path Library /usr/local/lib/python2.7/site-packages/Selenium2Library, still not working. Really appreciate for your reply and the HOT help.

absolute

Thank you, Ken

Kenith avatar Sep 06 '17 07:09 Kenith

check this example:

https://github.com/crazy-canux/westeros/blob/master/examples/test.robot

crazy-canux avatar Sep 07 '17 03:09 crazy-canux

@DirkRichter not exactly. #58 refers to an incompatibility issue with the plugin and IED. This issue, based on its comments, refers to an issue with a certain functionality, where as in the other issue more or less none of the plugin's functionalities work. In addition, in this issue the versions of both plugin and IED were different.

antonpaa avatar Apr 18 '18 13:04 antonpaa

relative_path Hi @AmailP ,

In Pycharm 2017.3.6, I am facing issue with relative paths. Robot framework supports usage of relative path as below: Resource ../folder_name/file_name.robot

But on defining resource file as above, the file import is not found error is displayed on hovering over the file_path and custom keywords. Hence, navigating to the resource file clicking the file_path provided or the keyword associated with the files is not possible. But upon executing tests, the tests do run. Please provide the support for using Relative Paths.

The system in which I am encountering the issue is: Robot Framework v3.0.4 Python v3.6 IDE: PyCharm 2017.3.6 OS: Windows 10 Pro v1803 Robot Framework Support v0.16.4

Amy-Azazel avatar Jun 28 '18 06:06 Amy-Azazel