Parameterization

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 }

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 }

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 }

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

{ 8 comments }

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