TestNG Tutorials 55: DataProvider in TestNG – Lazy Initialisation of DataProvider Method – Use of Iterator Return Type

Hello, DataProvider is an important functionality provided by TestNG to achieve Data driven testing or providing a set of different dataset to a method to execute on. We have seen DataProvider concept in details in previous posts. DataProvider may become nightmare if number of data (arguments) is more or it keeps changing or you do not

Read More

TestNG Tutorials 54: DataProvider in TestNG – Implementing Object Oriented Concept “Encapsulation” with DataProvider Method

Hello Folks, As part of ongoing series on DataProvider, we will learn “How does Encapsulation ( in OOPS concept) help in a DataProvider method? ” in this post. Encapsulation is an Object Oriented Programming concept which describes binding of related stuffs together under one roof. It makes easier to add , remove and modify members. For

Read More

TestNG Tutorials 53: DataProvider in TestNG – Is It Mandatory To Have Return Type as Object in DataProvider Method

Hello Guys, DataProvider method in TestNG is a way to provide test data to Test annotated methods in a TestNG class. A typical DataProvider method looks like as below:

You can see that return type of above DataProvider method is an Object array. Is it mandatory to have return type as Object only? Answer

Read More

API Testing Tutorial Part 13 – Introduction of Postman Tool

Hello Folks, As part of our API Testing series, we will see “Introduction of Postman Tool” in this post. Postman is a complete API development environment/suite which supports every stage of the API lifecycle. Through design, testing and full production, Postman is there for faster, easier API development—without the chaos. Postman’s API Development Environment (ADE) consists of

Read More

API Testing Tutorial Part 11 – Difference Between SOAP and Rest Web Services or API

Hello Folks, As part of our API Testing series, we will see “Difference between SOAP and REST web services” in this post. Note: It is a frequently asked interview question in interviews. Designing a web services or API depends on two common implementation: SOAP – Simple Object Access Protocol REST – Representational State Transfer Protocol  

Read More

Advanced Selenium Concepts – Custom Select Class – Select Value Containing Specific Text in Drop down

Hello Folks, Most of us we know that to handle a dropdown developed using Select tag, we can use inbuilt class of Selenium named “Select” class. This class provides you three methods to select options in dropdown which are below: selectByValue – You need to provide exact value to get it selected. selectByVisibleText – You

Read More

Advanced Xpath Concept – Method normalize-space & Its Usage

Hello Folks, In this post we will going to learn an advanced concept of xpath: – normalize-space method.  Before we discuss about method normalize-space, we will see why do we require that. Consider below html codes: <anyTag>   Make       Selenium      Easy </anyTag> (Inner text has more white spaces among words than normal.)  It

Read More

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.