May 2018 – Make Selenium Easy
Hello Folks, Let’s run below TestNG class and observe output: Output: Can you see different order of execution of test methods than it has appeared in class? “Amrrod” method is last but got executed first. “Print” method is first but executed in second position. Actually, TestNG does not run Test methods as it appears in […]
Hello Folks, Let’s learn something new today. We have used @Test annotation on methods. Can we use @Test annotation on a class? Yes, We can use @Test annotation on class. Suppose, you need to write 10 @Test annotated method in a class. Either you mark all methods as @Test annotated or directly annotate class itself as […]
Testers perform Testing on Application Under Test (AUT) to find defects in it and need to log or raise defect in a defect management tool E.g. JIRA, HPALM etc. A defect management tool is used to keep track of progress made on a defect through different stages. While logging a defect, you must need to […]
There are three most confusing terms for Testers including both beginner and experienced: Smoke Testing or suite Sanity Testing or suite Regression Testing or suite We always use these words wrongly but we do work correctly. People understands what they need to test and they do it but confuse with words. I will try best […]
Hello Folks, In this post, we will see an important concept of manual testing which is also a frequently asked interview question for both freshers and experienced. We will understand below points: What do you understand by severity and priority of a defect? Differentiate between severity and priority. Types of severity and priority. Who decides […]
Hello Folks, In this post, we will learn Inheritance in TestNG classes. In very basic words, Inheritance is an OOPS concept which allows a class to inherit property of another class for the sake of re-usability. Like any other class we can also apply concept of inheritance in TestNG class. We will do an example […]
Hello Folks, Method overloading is an important concept in Java. Can we create overloaded method in TestNG class. Let’s give it a try. Overloaded TestNG class: Create a testng.xml and run it: Output: You will get above exception in console because TestNG does not allow you to put any type of parameters to a TestNG […]
Hello Folks, We talked about TestNG class in previous post. Can we declare and define TestNG annotated methods in an Interface? We will learn now. As per Java 8, An interface can have abstract methods, default methods and static methods. Let’s create an Interface with TestNG annotated abstract methods and observe what happens: An interface […]
Hello Testers, Defect Life Cycle or Bug Life Cycle is an important concept in Software testing and both manual and automation tester must be aware about it. It is also frequently asked interview question. So let’s learn about this. A life cycle is a series of stages through which something passes during its lifetime i.e. […]
Hello Folks, We will see an interesting topic in this post. We can create an inner TestNG class as well like any normal inner class in Java. An example is as below: Let’s try to generate a testng.xml for this: TestNG includes outer and inner class names default. That’s good. Happy. Now run above testng.xml: […]