0
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 

http://softwaretestingboard.com/qa/33/how-to-pass-parameters-using-testng-xml
 

Can I pass it in @BeforeTest as well?

1 Answer

0
Best answer
0
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.
...