Ant – Build Process Automation

by seetaram on June 30, 2011

Software build is the process of creating and packaging binaries for the software release.  To make the build process completely consistent and repeatable, the process should be automated.  There are various tools available for the build process automation. Build tools are used for the process of automating mundane activities such as: Compiling source code Packaging […]

{ 3 comments }

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 […]

{ 21 comments }

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, […]

{ 65 comments }

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 […]

{ 3 comments }

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 […]

{ 3 comments }

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 […]

{ 7 comments }

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 […]

{ 28 comments }

JUnit is a unit testing framework which mostly used for unit testing of Java projects.  JUnit4 is the enhanced version of JUnit 3 and comes with annotations such as @Before, @After, @Test, @AfterClass, @BeforeClass, etc.  (Please refer – http://tinyurl.com/6al62p8 for detailed discussion on these annotations).   JUnit4 can be utilized with Selenium 2.0 WebDriver or Selenium […]

{ 13 comments }

I wanted to evaluate Selenium 2.0 hence went through the Selenium 2.0 and WebDriver documentation and tried writing some simple tests with JUnit.4  Its really easy to understand.  Lot of changes, its like entirely a new tool. APIs are pretty straight forward and easy to use.  Let us have a look at the following code. […]

{ 30 comments }

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 […]

{ 78 comments }

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