Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Inject a parameter dynamically for a test case - TestNG  RSS feed

 
Ranch Hand
Posts: 427
6
Netbeans IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I want to inject dynamically a value for a parameter of test case using TESTNG.

I have a xml file such as:



and my code:




Before you run my suite , I want to add the value of parameter xx.

How can do that?

Any hint is appreciated.

Thanks

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!