Katalon Studio: not responding when running test case

Hi,

I have noticed that whenever I tried running my test case, it takes around a minute before it will run and Katalon Studio says its not responding.Maybe because I have too many test cases/object repositories or Internet issue?

It is highly appreciated if anyone can help me.

1 Like

@sarah2 Can you try to use the latest version 6.3.2 to see if the problem is resolved? Because I see version6.2.2 in your side

@sarah2 what version of chrome are you using cos if it is V76, i am having the same problem and i plan to get chrome v74 which i believe works. did i mention that my KS was 6.2.2 and updated to 6.3.2 but still having the same issue?

2 Likes

@benjamin.emina I am now using the latest version of KS and my chrome is up to date which is v76, so far I was able to run test scripts around 2 to 3 sec which I think is okay unlike before that it takes a minute to run. I’ll just observed if same thing will happen in the future and update this thread as soon as necessary.

Thanks @Alice :slight_smile:

I noticed this insident as well.

Katalon Studio v6.3.2 looks hang-up (not responding to any event) for around 70 seconds when I clicked the green button to execute a very simple test case before the test case actually started.

I tried Firefox, Chrome, IE. — for all of them, KS v6.3.2 hanged-up, though the time-periods of no-responding varies (20 - 70 secs)

Katalon Studio v6.3.1 looks OK. The test case starts in just a few seconds.

I checked the version of chromedriver.exe bundled in the v6.3.1 and v6.3.2. The same version of chromedriver.exe is bundled in the 2 KS versions. Therefore I suppose that the version of bundled binary of webdriver is not the cause of the problem.

@devalex88, @ThanhTo,

What changes were introduce at v6.3.2?

Update:

At first everything went well, I was able to run around 2 to 5 sec this morning, but as I used KS eventually same problem occurred, it hanged up and takes a minute to run as what @kazurayam has observed.

Hi @kazurayam, @sarah2

Can you verify that in Preferences > Katalon > Web UI, the option automatically update Web Driver is disabled ?

1 Like

I tried the same test case in 2 environments.

  • Windows 10, KS6.3.2, with Proxy in between my PC and the Internet --> Not responding
  • Mac Book, KS6.3.2, without Proxy --> Responding quickly as usual

In both cases, I selected the option “automatically update Web Driver” is enabled.

With Proxy or Without Proxy — this seems to be a factor.

With automatically update Web Driver option On or OFF — this seems be another factor.

The combination of these 2 factors (behind Proxy, the Option of KS6.3.2 is set ON) makes KS hang up.

It is easy to guess what’s going on. Katalon Studio tries to connect to the download site of WebDriver binaries, but it fails to connect and wait for timeout because KS6.3.2 does not respect the given Proxy config.

I will check it on Monday.

@ThanhTo

As explained in the Release Note, Katalon Studio option “Automatically update webdriver” was introducued at v6.1.3-6.1.4.

I tested the following cases on Windows10, with a Proxy between my PC and the Internet.

KS version Proxy setting into KS Automatically update Web Driver option Browser behavior
6.1.2 172.xx.xx.xxx:xx80 the option is not available Firefox test case starts promptly and succeeded
6.1.4 172.xx.xx.xxx:xx80 disabled Firefox test case starts promptly and succeeded
6.1.4 172.xx.xx.xxx:xx80 enabled Firefox KS hangs for 40 secs before test case starts, once started the test case succeeded
6.1.4 172.xx.xx.xxx:xx80 enabled Chrome KS hangs for 40 secs before test case starts, test case failed due to miscellanious reasons
6.1.4 172.xx.xx.xxx:xx80 enabled IE KS hangs for 30 secs before test case starts, test case failed due to miscellaneous reasons
6.3.2 172.xx.xx.xxx:xx80 disabled Firefox test case starts promptly and succeeded
6.3.2 172.xx.xx.xxx:xx80 disabled Chrome test case starts promptly and succeeded
6.3.2 172.xx.xx.xxx:xx80 disabled IE test case starts promptly but failed due to miscellaneous reasons
6.3.2 172.xx.xx.xxx:xx80 enabled Firefox KS hangs for 40 secs before test case starts, once started the test case succeeded
6.3.2 172.xx.xx.xxx:xx80 enabled Chrome KS hangs for 40 secs before test case starts, test case failed due to miscellanious reasons
6.3.2 172.xx.xx.xxx:xx80 enabled IE KS hangs for 30 secs before test case starts, test case failed due to miscellaneous reasons
1 Like

Thanks @kazurayam

In the upcoming releases we already have on our plan to modify this functionality so that users can have more powers in updating Web Driver, there will be progress bar which prevents Katalon Studio from being blocked and other types of measurements.

Thank you for investigation !

Cheers !

1 Like

Everyone please try KS 6.3.3. We’ve replaced the option with a command under Tools menu to let users update the WebDrivers only when they want to.

2 Likes

Try running through the console. It’s much faster!

how do we roll this back? i hit update web driver for Chrome and now every test case in chrome fails

You can update Chrome or download the KS package again. The location of WebDriver binaries is documented here.

I’m not understanding where to get these from?
Location:

  • <Katalon Studio folder>\configuration\resources\drivers\chromedriver_win32
  • <Katalon Studio folder>\configuration\resources\drivers\chromedriver_win64