Author : Ashwini Velapure (Test Automation Engineer) https://www.linkedin.com/in/ashwinivelapure
What is Automation Framework?
In simple words ,it
is nothing but structure of code.
While starting for
Automation Testing ,we need to have clear understanding for different types
of automation framework.
Types of Automation Framework:
Linear FrameWork:
It is just
sequential...
Tuesday, 24 May 2016
May 24, 2016
Automation Framework
Sunday, 22 May 2016
May 22, 2016
TestNG| Creating the First Case
How to create Test Case using TestNG?
Creating TestCase is simple using TestNG. The main motive to create a Test Case using TestNG is because of it powerful framework and to avoid main() method.
Steps to create a TestNG Test case
Ensure TestNG is correctly configured in Eclipse(Install TestNG)
Import...
Saturday, 21 May 2016
May 21, 2016
Reading a Excel File using Apache POI
Author : Ashwini Velapure (Test Automation Engineer) https://www.linkedin.com/in/ashwinivelapure
Steps to Read the Excel File
Specify the Location of File
Load WorkBook
Load Sheet: Sheet can be loaded via getSheetAt() method , sheet name /index can be passed as argument.By default Sheet1 has zero...
Friday, 20 May 2016
May 20, 2016
What is Apache POI and how to Download it
Author : Ashwini Velapure (Test Automation Engineer) https://www.linkedin.com/in/ashwinivelapure
APACHE POI
What is Apache POI?
Apache POI is a powerful Java library to work with different Microsoft Office file formats such as Excel, Power point, Visio, MS Word etc.
In this API we can handle different...
Friday, 6 May 2016
May 06, 2016
TestNG :Annotations Basic Concept
Annotations and its usage in Test NG
TestNG supports a series of annotations which are invoked when running the code. The Annotations is the powerful feature provided by TestNG in order to avoid using the Main() method.
Following are most commonly used annotations in Test NG
@BeforeSuite :-Annotates methods that will be run before any method in a given is run.@BeforeGroups:-Annotates methods that...
Sunday, 1 May 2016
May 01, 2016
TestNG and its Installation
What is TestNG?
TestNG is a testing framework for the java programming language inspired by JUnit and NUnit.The design goal is to cover wide range of Testing: Unit,Functional ,Regression etc.
Advantages of TestNG
TestNG supports many powerful features & it is easy to use. Let’s see what all...
May 01, 2016
Creating Object Repository Using Properties file in Selenium Webdriver

What are Properties file and why we need it?
In Selenium web driver there is not any build in facility to create object repository, so maintenance of page objects becomes very hard if we write all objects of page on code level.So we can create Properties file support of java software in order to store...
Sunday, 24 April 2016
April 24, 2016
Write Data in Excel using Selenium JXL
How Selenium supports Writing of Excel File?
Writing of Excel file can be achieved with the help of API called JXL. Currently JXL only support xls type file.
Steps to download jxl2.6 jar file and configure in the Project
Step1: Go to the URL:-http://www.findjar.com/jar/net.sourceforge.jexcelapi/jars/jxl-2.6.jar.html...
Saturday, 23 April 2016
April 23, 2016
Read Excel file in Selenium using JXL
How Selenium supports reading of Excel File?
Reading of Excel file can be achieved with the help of API called JXL. Currently JXL only support xls type file.
Steps to download jxl2.6 jar file and configure in the Project
Step1: Go to the URL:-http://www.findjar.com/jar/net.sourceforge.jexcelapi/jars/jxl-2.6.jar.html...
April 23, 2016
Handling Keyboard Events in Webdriver
What are keyboard events?
Keyboard events are actions that can be performed with keyboard such as Alt F4, Shift "A", Control+Alt+Delete.There may be scenarios were we need to perform typing like a keyboard in certain fields
How Selenium handles keyboard events?
Selenium offers Action class in order...
Friday, 22 April 2016
April 22, 2016
Handling Mouse Events in Webdriver
What are mouse events?
Mouse events are actions that can be performed with mouse such as double click, drag and drop, click and hold.There may be scenarios were we need to perform mouse hover to see the calender etc..
How Selenium handles mouse events?
Selenium offers Action class in order to handle...
Sunday, 17 April 2016
April 17, 2016
Generate Logs in Selenium
What are Log files?
Log files are check points that can be added at any step of code.Logs gives us detailed reasoning of any step failure .To see logs we first need to download Log4j jar file.
Steps to Configure Log4j in Selenium
1-Go to http://www.java2s.com/Code/Jar/a/Downloadapachelogginglog4jjar.htm
2-Download apache-logging/apache-logging-log4j.jar.zip(...
April 17, 2016
Setting up a Selenium Webdriver Project
How To Setup a Selenium WebDriver Project in Eclipse ?
Creating a Simple Selenium – Java project in EclipseThis post will help the selenium users-Beginners to setup the selenium project and execute a simple WebDriver script
Steps To Create a Selenium Project in EclipseStep 1: Download EclipseStep...