How to set the background color of a cell in Excel Sheet Using Apache POI

How to set the background color of a cell in Excel Sheet Using Java The following code shows how to set the background color of a cell in Excel Sheet Using Java package pack1; import java.io.FileOutputStream; import java.io.IOException; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.FillPatternType; import org.apache.poi.ss.usermodel.IndexedColors; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.xssf.usermodel.XSSFRichTextString; import […]

Read More »

Real Time Example of DatePicker (ClearTrip.com)

In one of my previous post, we have seen how to handle date time picker controls like jQuery date picker and Kendo date picker using Selenium WebDriver. Since many people requested to write about real time scenario on date picker, here I am posting a real time example. In this post, I am using www.cleartrip.com Date Picker. Steps to […]

Read More »

Differences Among isDisplayed(), presenceOfElementLocated () and visibilityOfElementLocated () Methods In Selenium WebDriver

Differences Among isDisplayed(), presenceOfElementLocated() and visibilityOfElementLocated() Methods In Selenium WebDriver isDisplayed():  Syntax: boolean isDisplayed()  Is this element displayed or not? This method avoids the problem of having to parse an element’s “style” attribute. Returns: True if the element is displayed on the browser otherwise False -isDisplayed() method is belongs to WebElement interface   visibilityOfElementLocated(): Syntax: public […]

Read More »

Selenium WebDriver Architecture

Selenium WebDriver Architecture Before starting the automation using any automation tool, it is very important to know how that tool works and how it is architecture. This will helps to take the good advantage of the tool at the same time it will helps to make right automation framework. At a very high level, Selenium […]

Read More »

How to Select Date from DatePicker in Selenium Webdriver

How to Select Date from DatePicker in Selenium Webdriver In this post, we’ll learn how to handle date time picker controls like jQuery date picker and Kendo date picker using Selenium Webdriver. I will use JQuery Date picker for example and you can take any example because approach will remain same. Below image is an example of Date picker which is […]

Read More »