First of all, we need to understand there are two ways to skip any testcase from execution. One is using “enabled=false” property, The second one is using “Conditional Skip”. The above interview question is about “Conditional Skip” using skipException from ...
Home/TestNG Interview Questions
Discy Latest Articles

How to execute your test method with only particular sets of data from DataProvider?
This is a really interesting TestNG interview question, you can expect this question if you’re having 2y to 3y experience in Automation. Okay, Let’s see the answer to this interview question with an example… @DataProvider is one of the powerful ...