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

A
To define a test
B
To pass parameters to test methods
C
To set up data
D
To clean resources
Solution:

@Parameters allows passing values to test methods from configuration files.

Entri Contact Image

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