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

{ 0 comments }

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

{ 4 comments }

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

{ 3 comments }

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

{ 13 comments }

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

{ 0 comments }

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

{ 0 comments }

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

{ 0 comments }

Java – Classes, Objects, and Methods

by seetaram on July 1, 2011

Classes – To simplify the definition we can say class means it is a category.  For example, mobile handset can be a class (i.e. MobileHandSet) and from which we can create many objects having the same functionalities.   Some more examples of class might be Test Case, Bugs, Log, Exception, Test Book, etc. Objects – Object […]

{ 0 comments }

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 }

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