IsRunnable method for running specific test cases | Selenium Forum
M
Posted on 19/12/2016
Hi Sir,

In the Data Driven Framework module, you have mentioned we can create isRunnable method to check which test cases need to be executed as per Run Mode set in the excel file.

But going by current logic, I think this method needs to be called in each test case For ex: If there are 20 test cases with @Test, then in each and every method, we need to call the isRunnable method.

Kindly suggest is there any way where we can control the execution by using isRunnable only one time.

Thank you.

Regards,
Manish.

M
Replied on 21/12/2016

we have to call it every time. that is how it is designed otherwise, it would defeat its purpose.