Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
367 views
in Programming by
edited by

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 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
Yes you can. You can pass parameters at @BeforeTest level.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...