Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ranch Hand
Posts: 441
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

 
They weren't very bright, but they were very, very big. Ad contrast:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!