I am facing an issue while running selenium tests in parallel browsers. If I am running 1 Test in 1 Browser, then its taking 3 mins to get over. However, if I am increasing the number of runner files (number of browsers) in Test Suite XML, then the execution time of same test is getting increased from 3 to 10 mins. I am using testng with cucumber.
It seems, each browser is completing 1 action and then 2nd action is taking place due to which execution time is getting increased. I am using parallel tests in test suite xml file. Is there a way that each browser can perform action independently of other browsers and my test can still complete in 3 mins even if I am running in more than 1 browsers.
Please suggest.