Answers for "parameterized test in testng"

0

parameterized test in testng

We use @Parameter annotation.

Let's say we create a class and we put the @Parameter annotation with 
"param-name".

Then we open testng.xml file. We create a suite, it takes also parameter name
attribute. We provide a parameter name which we named in class and we provide
value what we want to pass.
Posted by: Guest on December-08-2020

Browse Popular Code Answers by Language