Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

Can I pass parameters at @BeforeTest as well?

Solved 1 Answers 66 Views Programming
0 1

I see that I can pass parameters using @Parameters to @Test as mentioned in below URL

Can I pass it in @BeforeTest as well?

1 Answer

Best answer
Yes you can. You can pass parameters at @BeforeTest level.
answered by (151 points)
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.