We are trying to use Robot Framework with PyCharm and I am facing few issues while trying to proceed.
I am using:
Python - 3.6.7
Robot Framework - 3.2.1
PyCharm - 2019.2
Tried to create a Project with Robot Framework in PyCharm. Found that I need to install “Intellibot” plugin in PyCharm which is help us use the Robot Framework features. Later in another video, found that I must also be using another plugin called “Robot Framework Support”. I am really not sure what all plugins must be used for having the Robot Framework features in PyCharm.
It will be really helpful if someone could share links/ documents for the user guide (Using Robot Framework with PyCharm).
And also, when I try to use Selenium Library in my Test Suite, it is not showing the keyword list in dropdown when I use Ctrl + Space. As mentioned earlier, I am using “Intellibot” and “Robt Framework Support” plugin.
Would you please explain step 4 for me please? By default Pycharm set my source folder to the location of my robot project like C:\robotframework\webplustest. It is my project folder from ‘C’ drive.
I installed the Intellibot @SeleniumLibrary Patched and still get problem. I am not able to make the seleniumlibrary to come up when I type like Open Browser. I also have error from the event log for this plugin.
I don’t understand: what do you try to achieve? The source folder looks fine for me.
What about libraries and keyword files? I’d guess they are in some of these subfolders. CustomLibs and Resources maybe.
Unless you mean by “libraries” external libraries like SeleniumLibrary, those would go to in to venv, but you never have to check there.
Be aware, that PyCharm is no Robot Framework IDE. You need to look at the project from a python perspective. You can set up a python environment and install robotframework dependencies in it. Robot Framework plugins help a little bit with auto completion.
Using a venv is good practice! Now, if you open a terminal in PyCharm you can install dependencies with pip: (venv) C:\RobotFramework\WebPlustTest> pip install robotframework-seleniumlibrary
You also need to run robot from this terminal command line (or create a Run config): (venv) C:\RobotFramework\WebPlustTest> robot Tests/*.robot
This also solved my issue. But with RF v4.0 I’m not able to use builtin keywords any other library keywords except selenium. Is there any specific solution for this?
Language Server Protocol (LSP) for Robot Framework extension for VS Code remains open-source and available, but we cease to support new features or new versions of Robot Framework.