TestNG Interview Questions and Answers
Question: How can you skip a test method conditionally in TestNG?Answer: Conditional skipping of a test method in TestNG can be achieved by using the 'enabled' attribute in the @Test annotation along with a condition that evaluates to true or false. |
Is it helpful?
Yes
No
Most helpful rated by users: