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: Go to File > Settings > External Tools Click ‘+’ button under ‘External Tools’ panel 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: … Read more

Json handling in ROBOT

The simplest solution would be to write a python keyword that can change the value for you. However, you can solve this with robot keywords by performing the following steps: convert the JSON string to a dictionary modify the dictionary convert the dictionary back to a JSON string Convert the JSON string to a dictionary … Read more

Mac OSX – IllegalStateException: The driver is not executable:

Quick installation of the latest ChromeDriver To install the latest version of ChromeDriver: Mac users with Homebrew: brew tap homebrew/cask && brew cask install chromedriver Original answered Nov 15 ’17 at 12:04 The error IllegalStateException: The driver is not executable: /Users/roja/Documents/GitHub/testautomation/chromedrivers/chromedriver_osx says it all. You have to make exactly 4 changes as follows : Change … Read more

SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81

I solved these kinds of problems using the webdrive manager. You can automatically use the correct chromedriver by using the webdrive-manager. Install the webdrive-manager: pip install webdriver-manager Then use the driver in python as follows from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager driver = webdriver.Chrome(ChromeDriverManager().install()) This answer is taken from https://stackoverflow.com/a/52878725/10741023