public class WebDriverTest extends SelTestCase {
@Test(dataProvider = "cuData", dataProviderClass = CustomerSearchData.class)
public void testCustomer(CustomerSearchData cuData, CustomerSearchData cuEnterData) {
<<using cudata and CuEnterData to drive test>>
}
}
However in this cuData and cuEnterData both belongs to class CustomerSearchData.
what I am trying: both cuData and cuEnterData will be from two different classes.
Like cuData from CustomerSearchData.class and cuEnterData from NewCustomerData.class
However as I have only one dataProviderClass = CustomerSearchData.class, not sure how I can separate these two data set in two different classes.
-SK