Selenium Interview Question 1- What is Selenium?

The best definition of Selenium I found at its official website. It says – Selenium Automates Browser. We can automation the flows of a web based application ( An application which runs inside a browser) using Selenium. Primarily it is used to automate testing process of a web application but you can use Selenium beyond

Read More

API Testing Tutorial Part 19 – Difference Between ‘Accept’ and ‘Content-Type’ HTTP Headers

“Accept” and “Content-Type” are HTTP Headers which control input and output formats. “Accept” is a request header and “Content-Type” is both request and response header. Let’s see the difference between these headers: Accept: Let’s understand it using a real time example. We must have submitted final year projects in our college and there were a

Read More

Integration of Apache POI Java Library in a Java Project – Direct Download & Using Maven or Gradle

Hello Guys, We have seen Introduction of Apache POI in previous post. In this post we will see below topics: Integration of apache POI libraries using Direct download Integration of apache POI libraries using Build automation tool Maven Integration of apache POI libraries using Build automation tool Gradle ( This we will see in a

Read More

Introduction To Apache POI – The Java API To Read Write Microsoft Documents – Excel

Apache POI provides pure Java libraries for reading and writing files in Microsoft Office formats, such as Word, PowerPoint and Excel. It has different components for reading and writing different Microsoft Office files: POIFS for OLE 2 Documents HSSF and XSSF for Excel Documents HWPF and XWPF for Word Documents HSLF and XSLF for PowerPoint Documents HPSF for OLE 2 Document Properties HDGF

Read More

TestNG Tutorials 69 : Rerun Failed Test Method Using IRetryAnalyzer Interface – Implementing With Listener – IAnnotationTransformer

Hello Folks, We have already learnt about IRetryAnalyzer interface in previous post. We know why we use it and how can we use it. From previous post, you know that we can pass implemented class of IRetryAnalyzer as an value to attribute named “retryAnalyzer” at @Test annotation. You need to add it each and every @Test annotation

Read More

TestNG Tutorials 68 : Rerun Failed Test Method Using IRetryAnalyzer Interface – Implement Using retryAnalyzer attribute in the @Test annotation

Hello Folks, TestNG provides a built in mechanism to re-run failed test case for N times (Ideally) instantly using IRetryAnalyzer interface. It means that if a test method fails, we can rerun it for N times or until it is passed during run. Let’s see this concept in more details: IRetryAnalyzer Interface: IRetryAnalyzer is an interface

Read More

Frequently Asked Java Program 27: Java Program to Find Occurrence of Any Char in a Given String Without Iterating

Problem Statement: Find occurrence of given char  (Ignore case)  in given string without iterating through string. Input – Make Selenium Easy Char – ‘M’ Output- Occurrence of M is 2. Problem Solution: We need to solve this problem without iterating through string in search of character. Its simple. Logic step by step: FInd the initial length

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.