Robot Framework with Pycharm — Autocomplete doesn't work

天大地大妈咪最大 提交于 2020-05-30 07:58:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!