Running multiple tests at the same Time


#1

Is there any way to run multiple tests in parallel using Kantu?

Thank you


#2

Yes, you can run many instances of Chrome + Kantu using the Kantu command line.

You might want to make a new Chrome profile for each instance, so cookies and cache are not shared between the tests, or run them in incognito mode.


#3

Hi,

I am not able to open multiple instances of chromium + kantu. Even if I open more that one instance of chromium there is only 1 instance of kantu that gets confused and stops working. Any idea??


#4

The solution is to use a new profile for each instance. So if you want to have 10 Kantus working at the same time, you need to create 10 different Chrome profiles. For Firefox it works the same.

Once you have the profiles, you use a different one in each command line:

“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –profile-directory=Default “file:///D:/test/DemoAutofill1.html?direct=1&close=1&savelog=log1.txt”

Chrome:

--profile-directory=Default
--profile-directory="Profile 1"
--profile-directory="Profile 2"
...

For more details see here.

Firefox:
How to create profiles:
http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows

Command line: -P "profile_name"


"[error]Another debugger is already attached to the tab with id: 357