July 2011

Getting started with webdriver requires some idea on “how to use the APIs” provided by the Selenium 2 Webdriver.  Some of the useful APIs were discussed in detail in “Useful APIs of WebDriver”.  Example of automating a web page with these APIs explains the Test Automation with WebDriver better. I have created a sample web […]


Selenium 2.0 WebDriver – Some useful APIs

by seetaram on July 23, 2011

To start with WebDriver we need to learn about some of the useful APIs that are provided for automating user actions on an application. Let us list some of the actions that we need to automate while automating a test case: Click a link, button Type value in an Edit box Select a value from […]


In Software Testing we need to verify the output of test case against a predefined set of Test Data. Selenium provides various Selenese commands to achieve this.  Let us try to explore some of the situations we come across in Test Automation. Verify whether an object is visible (such as a button, link, etc) Verify […]


Selenium – Creating XML Reports

by seetaram on July 7, 2011

XML is the abbreviation for Extensible Markup Language.  XML is used in many aspects of software development, data storage, to communicate between different applications, data sharing, etc.  In Test Automation if the reports are generated in XML format that can be utilized to generate customized HTML reports and also can be imported into Spreadsheet like […]


If you think about Test Automation, what are the basic actions comes into mind? Clicking on a button, selecting some value from a dropdown, typing in some value into an edit box, clicking on a link, checking a checkbox, clicking on a radio button. Below are some of the actions we can list: Click Select […]


In the latest release of Selenium 2.0 WebDriver Alert class is implemented.  Get the latest release of Selenium 2.0 from this Download link.  Download selenium-server-2.0rc3.zip and unzip into \Libraries folder.  Add “selenium-server-standalone-2.0rc3” to the classpath (Add the External Jar to buildpath of the project’s properties in Eclipse IDE). Here, I have taken an example HTML […]


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 “www.sqaforums.com” […]


Java – Conditional Statements

by seetaram on July 2, 2011

Java being a programming language provides conditional statements to handle execution of a set of statements based on the conditions. if if-else switch See example code below: package com.selftechy.learnjava; public class TestCase { public static int tcCount; public int stepcount; public String status; public int getStepCount(){ return stepcount; } public String getStatus(){ return status; } […]


Java – Static and Instance Variables

by seetaram on July 2, 2011

Object Oriented Programming has a concept of instance variables.  This type of variable is declared in a class and whenever an object is created of that class, a copy of the variable is created.  Instance variable is accessed as “object.variable” Static variable is also declared in a class but is created only once and used […]


Java – Inheritance

by seetaram on July 1, 2011

Knowledge of inheritance really helps if you are using Java / JUnit / TestNG frameworks for Test Automation.  Inheritance is an Object Oriented Programming concept. If a class which already created contains some variables and methods, if we want to add some more features to the existing class by adding some more functionalities then we […]


  • Page 1 of 2
  • 1
  • 2

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