Q. What is the purpose of @Listeners in TestNG?

A
To define a test
B
To add custom event listeners
C
To set up data
D
To clean resources
Solution:

@Listeners allows customization of test execution events (e.g., for reporting).

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!