I have setup a selenium Web driver test with TestNG to perform Parallel execution. The test starts ok, meaning that all tests start at the same time in different browser windows, but only the window, which is active (on the top), completes the test and all the other windows behind it will just stop. Does anyone know why? This is the sample XML.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Suite" parallel = "classes" thread-count="2" >
<test name="Test">
<classes>
<class name = "TestCase1.ProcessWorkflow1" />
<class name = "TestCase2.ProcessWorkflow2" />
</classes>
</test> <!-- Test -->
</suite> <!-- Suite -->