parallel-execution

Is there a way to launch testSuites in parallel (concurrently) for selenium code using MultiThreading, Concurrent ExecutorServices

巧了我就是萌 提交于 2019-12-11 14:31:45
问题 I have set of suites which run in sequential order one after an another handled by a for loop. I would want to do run the available TestSuites in parallel concurrently by just using coreJava. Could any one help me out on how to do it ? Xls_Reader suiteLauncherXls=new Xls_Reader("src/XlsFiles/SuiteLauncher.xlsx"); int RowCount=suiteLauncherXls.getRowCount(Constants.TEST_SUITE_SHEET); for(int suiteCount = 2; suiteCount <= RowCount; suiteCount++) { SUITE_ID = suiteLauncherXls.getCellData