Can I pass parameters at @BeforeTest as well?

Solved 1 Answers 48 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 (192 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.

We have resolved 1.2k+ Software Testing queries!

Top Contributors