Q. What is the purpose of @BeforeTest in TestNG?
Solution:
@BeforeTest runs setup code before all test methods in a tag.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
@BeforeTest runs setup code before all test methods in a tag.
Strengthen Your Practice with our comprehensive question bank.