Day: August 11, 2018

TestNG Tutorials 44: Constructor with @Parameter Annotation

Hello Folks, We have seen previously that how can we parameterize methods in a TestNG class. The approach of using @Parameters annotations with each methods is not so good. Some demerits of this approach are as below: You need to include @Parameters annotation with each parameterized method. You need to accept as many as attributes […]

TestNG Tutorials 43: Difference Between “Parameters” and “parameter” in TestNG

Hello Folks, I was asked this question in an interview and I was like “Are there two terms “Parameters” and “parameter” in TestNG?“. Yes, There are two different terms, “Parameters” and “parameter“. We have used both termas many times but didn’t notice minor thing. “Parameters” is an annotation which allows us to create parameterized methods […]

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.