The following article will help you troubleshoot some problems during web automated testing using Katalon Studio.
Timed out waiting for driver server to start
Root cause: Incompatible issue when using current Edge driver
Download correct Edge driver from this page: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ based on your OS build (Go to Start > Settings > System > About and locate the number next to OS Build on the screen)
Copy downloaded Edge driver and replace it in existing edgedriver folder of Katalon Studio, e.g: C:\Katalon_Studio_Windows_64-4.8\configuration\resources\drivers\edgedriver
Unable to record on Internet Explorer
Root cause: Add-on on Internet Explorer is not turned on.
Open 'Manage Add-ons' in Internet Explorer: https://support.microsoft.com/en-us/help/17447/windows-internet-explorer-11-manage-add-ons
Enable the RecorderExtension.RecorderBHO
Unable to connect to Katalon server
Root cause: Windows Firewall blocks connection between Katalon Studio and browser's drivers
Solution: You need to allow the following .exe files:
to communicate through Windows Firewall. Here is the full guide for to access this interface.
These executable files can be located in : <Katalon Studio folder>\configuration\resources\drivers
You may also need to add Google Chrome (chrome.exe) and Firefox (firefox.exe) in the worst case if your current Windows Firewall block them as well.
Use different browser versions
In case you want Katalon Studio to use different versions besides the current installed version, there are two ways to do it:
- Use custom keywords
- These Firefox instances should be installed on your machine first.
- Create a custom keyword to open the browser. Press Ctrl + Shift + O to automatically import necessary packages:
- In a test case, use this custom keyword instead of ‘Open Browser’ keyword, e.g:
- Downgrade browser's version:
Another approach is downgrade your current browser's version to a version you want. If you want to use a very old version of your current browser, you may need to downgrade or upgrade browser's drivers as well as Selenium WebDriver, please refer to this guide: https://docs.katalon.com/display/KD/Update+or+Replace+Web+Browser+Drivers+and+Selenium