I have keyword driven automation framework in Selenium.
At the run-time i am creating testng suite.xml which includes all method names(the testcases which are marked as Yes in Test Suite.xls), parallel=methods, thread-count-2 and then testng.xml is executed.
Although two browser instance is opened, only one test script is executed. Other browser instance wait till first script is executed and then second script is executed.
It would be great if some one can help me on this or provide alternative solution to implement parallel execution in key-word driven framework.