November 2018 – Make Selenium Easy

Hello Guys, As I say always, your automation script is ineffective if you do not include logic to validate to make sure the desired action has been performed by Selenium script. For Example – You have a dropdown in your application. Manually you verify if dropdown contains desired options or it s sorted. Generally while […]

“How much Java I need to learn for selenium with Java binding?” is mostly asked question by a Professional who wants to learn Selenium with Java. If you want to put a cap on knowledge, you will be always an average knowledgeable professional. Selenium with Java binding is a Java library which means it has […]

Hello Guys, You should not be able to type alphabets or special characters in a field which supposed to accept only numbers. Manually you can type alphabets or special characters and verify. But in automation it is little tricky. Your application developer might restrict alphabets and special characters by setting value of “type” attribute of input […]

Hello Folks, Recently a guy asked me this question which he was asked in an interview in IBM. What the ways to test maximum character limit of an input box through Selenium? To achieve this in Selenium, we have two ways: Suppose maximum character limit of an input box is 10 characters. Type more than […]

Hello Folks, As part of our API Testing series, we will see “Sending GET request with params in Postman”. In last post, we saw how can we send a GET request to list all users. It simply list all users. What if we want to list users based on some conditions? For E.g. List all users whose […]

We have learnt in previous posts regarding establishing relationship between test methods. You can go through them below: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnMethod Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnGroup Before we learn about types of dependencies in TestNG, lets see one scenario first: If […]

In previous post, We have learnt to Establish dependency among test methods. In this post, we will see another concept in Dependency called DependsOnGroup. Consider a scenario: You have created automation scripts for Integration testing. We know that in integration testing, data flows from one module to another. You divide your test methods as per group. […]

We are going to see another important concept or feature provided by TestNG. This feature is called as Dependency. Suppose, we need to post a status on Facebook. Let’s write a Test Case for it: Step 1: Launch browser. Step 2: Launch Facebook url. Step 3: Create an account on Facebook. Step 4: Post a […]

A Test method is run for all data set provided by a DataProvider method which is by default one after another. Note here that test method is run on data in same sequence in which DataProvider pass it. The reason behind this is that a DataProvider annotated method has an attribute named “parallel” whose default […]

By default a Test method is executed for all data set returned by DataProvider. The reason behind this is that a DataProvider annotated method has an attribute called “indices” whose default value is set to “all”. You may need to run only specific set of data. Like if DataProvider providing you five set of data […]