Hi All,
I have the following requirement. I have 3 sets of data for login functionality for gmail application. I am writing one test method for login functionality and one data provider method to read the data with parallel=true
@Test(dataprovider="data")
public void testLogin(String username,String password)
{
//need to do login functionality
}
@Dataprovider(name="data", parallel=true)
public object[][] getData(){
returning data from here
}
and i have the testng.xml as
<suite name="parallesuite" parallel="tests" thread-count="4" data-provider-thread-count="10">
<test name="paralletest" parallel="methods">
<classes>
<class name="hybridframe.RegistrationTest"></class>
</classes>
</test>
</suite>
I am able to start the browsers but facing the problem of input the data. Selenium inputs the complete rows of data as a single row and inserts 3 usernames as single username into one browser.
Please let me know how to solve this issue.