I'm using testNg for Selenium
automation using java, I'm using @DataProvider
to get data from excel and pass as an argument to the test Script.
Suppose if I have 10 rows of data in Excel
, my test case will execute 10 times sequentially, but now I want to run those 10 tests in parallel, all at the same time using threads.
Can this be done? If yes, can somebody provide me a sample example for the same?