Reading data from xls and passing data to test using data provider.. Is it a bad practice? | Selenium Forum
P
Pankaj Posted on 11/03/2021

As in TestNG +Datadriven FW, we are only using json object but not data provider ?

 


A
Ashish Thakur Replied on 13/03/2021

If you have a java file with 1 test and 1 data provider then its good.

But most of the times your test is split in multiple @test annotattions and you cannot manage all of them with a single data provider

You can use data provider but with just one @Test


Related Posts