June 2011

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

{ 15 comments }

Selenium is a Test Automation tool for Web Applications.  Selenium IDE is an Add-on for Mozilla Firefox.  Using Selenium IDE we can record and playback tests.   Recorded tests will be in a table format.  This can be exported into various programming language formats such as C#, Java / JUnit, Groovy, PHP, Perl, Python, Ruby, etc. […]

{ 6 comments }

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 }

  • Page 1 of 2
  • 1
  • 2

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