TestNG Tutorials 53: DataProvider in TestNG – Is It Mandatory To Have Return Type as Object in DataProvider Method

Hello Guys, DataProvider method in TestNG is a way to provide test data to Test annotated methods in a TestNG class. A typical DataProvider method looks like as below: [crayon-5c93a0d9a54af714057537/] You can see that return type of above DataProvider method is an Object array. Is it mandatory to have return type as Object only? Answer … Continue reading TestNG Tutorials 53: DataProvider in TestNG – Is It Mandatory To Have Return Type as Object in DataProvider Method