Hello All
In my project there are 10 TestCases which uses comon code for both login and logout.
i want to write this code in seprate java file and call this file in my test cases.
iam using @Data Provider by defining the Base class as Static, and writing static method,
and calling this class in all 10 Test cases by usng
@Test(dataProvider = "create", dataProviderClass = StaticProvider.class)
iam getting error in my base class that it cant be defined as static, can any one help me
Thanks
Saikrishna