Selenium identifies the objects on a web page by its HTML properties such as id, name, and xpath.  To understand this, open a browser and navigate to some web site and then click on View – > Page Source.  Below picture shows how the page source looks: Here, I have taken the example of “” […]


Parameterization of Tests in Selenium IDE

by seetaram on June 30, 2011

Selenium IDE is a Mozilla Firefox add-on which can be utilized to record tests.  These tests can be saved in a folder and executed later in a batch mode.  But the problem we face with this is values such as login username, password, application URL, etc need to be hard coded.  In order to overcome […]


Learn Selenium Step by Step

by seetaram on June 29, 2011

Selenium is an open source web application Test Automation tool.  Learning Selenium is very easy.  Anybody who worked on manual testing can easily learn Selenium.  We will try to explore how to learn Selenium Step by Step. Selenium has three main tools – Selenium IDE, Selenium RC, and Selenium Grid. First let us have a […]


Selenium – Use Ant to Generate HTML Reports

by seetaram on June 29, 2011

Apache Ant is an open source build tool. A build tool can be used to compile the source code, creating the build artifacts such as JAR, WAR, and EAR files.  Some of the other usage of ANT is to run unit tests, do the application deployment on containers such as JBoss, Tomcat, WebSphere, WebLogic, GlassFish, […]


Create a configuration properties file to store parameters such as log file path, test data path, results path, selenium execution speed, wait period, etc, then make changes to the parameters whenever needed. Java provides a way to create configuration file for storing configurable parameters of an application.  Selenium Test Suite also needs such a file […]


In the previous post (view post)I have explained about reading a csv file and displaying its data on console.  Now, let us explore how to store some parameters in the csv file in the Key – Value format and then read the data into a HashMap.  Once the parameters and values are read into a […]


Selenium – Parameterization using CSV file

by seetaram on June 19, 2011

Parameterization of a Selenium test can be accomplished using various data sources such as XML, Database, Spreadsheet, flat file, CSV file, etc.  Among all of these techniques usage of XML, CSV, and spreadsheet are most widely used.  I have already discussed parameterizing Selenium tests using Microsoft Excel.  Let us discuss fetching test data from a […]


Do we need to go for Test Automation? If yes, then which is the tool? If we straight away start automating test cases what are all the technical challenges we might face? Do we need a framework for Automation? How we go about designing a framework? These are all the questions popup when we want […]


Parameterizing a test from external sources such as Microsoft Excel is always recommended in order to handle large amount of test data.  To read data from Excel, we need APIs which support opening file, reading data, and writing data into Excel.  We should know various classes and methods which support above mentioned operations.  In this […]


Selenium – Creating Object Repository

by seetaram on June 1, 2011

Parameterization of a particular test is needed in order to avoid hard coding of values.  If a test is recorded with Selenium IDE, then all the values (e.g. locators) are hardcoded making it very difficult to execute with subsequent changes in the application.  In this post let us discuss a simple form of parameterization with […]


  • Page 2 of 4
  • 1
  • 2
  • 3
  • 4

Do you want to get updates on the recent articles written? Please subscribe to RSS feed or Email