5.3 will support paralell :

I currently have a suite of using Junit 5.2 and Grid. I have 2x client machines connected to my hub, client A running IE and client B running chrome. Right now I can only execute a single test run on a single client at any one time. If I want to test on IE, then I use the driver object configured for IE (uses client machine A). If I want to use chrome, I have to change the driver object to use chrome (uses client machine B) etc. For example:

public class TestBase {

public void setUp {
        driver = new RemoteWebDriver(new URL(""), DesiredCapabilities.internetExplorer());
        //driver = new RemoteWebDriver(new URL(""), DesiredCapabilities.chrome());

        //login to application

public void tearDown(){

class TestCase1 extends TestBase {
    void test {
        //performs test steps


I wish to be able to execute the same test run on both my clients concurrently. Is this possible and if so how can I achieve this with my current configuration? I have hundereds of “TestCase” classes so any parameters etc would need to be added to my TestBase.

Source link https://sqa.stackexchange.com/questions/35055/-execution-of-selenium-test-cases-using-junit-5-3


Please enter your comment!
Please enter your name here