Running tests on PyCharm using Robot Framework

I have used the Intellibot PyCharm plugin for Robot Framework.

For running the tests, we can do the below configuration:

  1. Go to File > Settings > External Tools
  2. Click ‘+’ button under ‘External Tools’ panel
  3. In the ‘Create Tool’ dialog, enter the below values:
    • Name: Robot
    • Program: [Path of Pybot.bat e.g.C:\Python27\Scripts\Pybot.bat]
    • Parameters: $FileName$
    • Working Directory: $FileDir$
  4. Click OK

Once the above configuration is done, we get the option ‘Robot’ in the context menu on the test in the IDE. Choose that option to run your test suite in PyCharm.

Leave a Comment