Q. What is the purpose of @DependsOnMethods in TestNG?
Solution:
@DependsOnMethods ensures a test method runs only after specified methods.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
@DependsOnMethods ensures a test method runs only after specified methods.
Strengthen Your Practice with our comprehensive question bank.