问题
I've installed PyCharm with the robotframework
support plugin.
The .robot files are identified successfully and I was able to create a simple script and run it in pyCharm.
However, my problem is that no keywords nor even the robotframework
libraries (selenium2library) are recognized by pycharm in order to be autocompleted when typing them.
I also have the intellibot
plugin installed.
Is there something that I'm missing? Is there another configuration file somewhere?
Thanks,
回答1:
Try to set up your Library to robotframework-selenium2library == 1.8.0
, then the issue will disappear.
If you have the last version it doesn't work for me.
回答2:
There is a bug in the intellibot plugin. To resolve you need to 1. Uninstall your current intellibot plugin 2. Search for "IntelliBot @SeleniumLibrary Patched" in the plugins repository. 3. Install this patched plugin. This worked for me.
回答3:
You can try install "Robot Framework support" plugin. it working for me.
回答4:
I still have this issue did all of the things above except for robotframework-selenium2library == 1.8.0
Because I have the following config.
robotframework-seleniumlibrary 4.3.0
selenium 3.141.0
Does this matter? Shall I install this selenium2library == 1.8.0
also?
来源:https://stackoverflow.com/questions/46196953/robot-framework-with-pycharm-autocomplete-doesnt-work