AmailP / robot-plugin

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

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

Open gurudattamn opened 7 years ago

gurudattamn commented 7 years ago

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.

crazy-canux commented 7 years ago

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

crazy-canux commented 7 years ago

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

Kenith commented 7 years ago

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

firefoxwang commented 7 years ago

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

Kenith commented 7 years ago

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

crazy-canux commented 7 years ago

check this example:

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

antonpaa commented 6 years ago

@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.

Amy-Azazel commented 6 years ago

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