Day: June 2, 2018

TestNG Tutorials 20: Overriding Of Test Methods In TestNG Class

Hello Folks, We have seen how inheritance works in TestNg classes in this post.  In this post, we will see how overriding works in inherited TestNG classes. Create a super class as below: Now create a sub class where we will override one method from super class as below: Let’s run subclass as a testng […]

TestNG Tutorials 19: Default Priority Of @Test Methods In Inherited TestNG Classes

Hello Folks, In last post, we have seen default order of test methods in a TestNG class. You go to that post here. We know that how inheritance works in TestNG class from this post. In this post, we will see how default priority of test methods works in inherited class. When a TestNG class […]

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.