Jenkins Hudson

Jenkins is an open source continuous Integration tool written in java originated by Hudson.  Jenkins is most popular continuous integration tool in market. The reason is Jenkins is easy to use, open source, intuitive user interface and powerful features, supported variety of languages, technologies including Java .net, PHP, Ruby, Python, and Groovy etc.

Junit Test with Maven

In this post I will explain how to create and run JUnit test using maven. download Apache maven from link “download”, extract zip package into you machine and setup path maven bin folder into your system  environment variable. following are the steps to create JUnit test for maven and maven commands.

JUnit Test creation:

Create source folder in your eclipse “src/test/java” and “src/main/java” as below screen:

Procedure to run AutoIt script using ant (build.xml) tool.

In this post I will cover the procedure of AutoIT script execution with the help of ant build tool. As we know ant has java based library. But here I have set AutoIT compiler with Ant's build.xml file and can execute AutoIT scripts
  1. Ant path must be set in to system environment variable.
  2. AutoIT installation directory path must be set in to system environment variable.
    Below is a sample build.xml file for AutoIT script execution.

PHP Selenium RC data driven testing

In this post I will cover the procedure of data driven testing in selenium RC with phpunit framework.  PHP unit provide @dataProvider provider annotation.

In this post I have created a data driven test script in phpunit on Wikipedia where I put some country data in to excel file.

Soap UI Assertions

In this post I am going to explain what assertion in soapui is and how we can apply script assertion.

Assertion

Assertion functionality in SoapUI is used to validate the response of request received by the Test Steps at the time of execution. Usually assertion is to compare a part of message (or the entire message) to some expected value.
Assertion applied in SoapUI at response of request, if any assertion failed then test marked as failed. Failed test can be verify and find out the reason.

Data driven testing using java webdriver TestNg framework

In this post I implemented that how to perform data driven testing using java Webdriver  TestNg framework. As we know testNg provide @DataProvider annotation, using this I can pass a set of data into our Webdriver test method.  I have created a sample test script for Wikipedia where I use a set of country data, with Wikipedia search functionality and verify searched country.

Ant build tool

Apache Ant is java based library and command line tool. Ant drive application using build xml file, control behavior of build, compile and run targets define in build xml file.

Basically ant build is a java based application. It can be Also  build non java applications such as C, C++, PHP, Python etc by passing their compile/interpreter. Ant is written in java so ant user can be develop their own library. Ant is easy to use it does not impose coding convention or directory layouts to the java projects.

Ant use a configuration xml file, default name of file is build.xml. ant directly call target define in build file. Targets can be define their dependencies, ant will automatically execute dependent target.

Here is a sample of ant buid.xml file.

Screen Recording (Video) of Java Webdriver script

Sauce lab provided screen capturing functionality to test scripts execution, I was looking same type functionality to work on local machine and came up across “Monte Media Library” java based library developed by Werner Randelshofer.. In this post I have described a way to capture screen cast/ Video recording of selenium/webdriver test script execution.

Step to implement Monte Media library to selenium/Webdriver test scripts.
  1. Download “MonteScreenRecorder.jar” from link http://www.randelshofer.ch/monte/
  2. Add this jar file to your selenium/webdriver eclipse project.
  3. This jar file contain “ScreenRecorder” class, we need to create this class object by following way.

Sikuli Firefox Webdriver

Sikuli launched new API for java based programming language frameworks. This API provide image based GUI automation.  The new java library API has re-designed  and included several new functions that were not available in original sikuli script. Such as the ability match color. Handle events and fund geometric patterns such as rectangular button.  It can be integrated with maven build.

Requirements
  1. Java Runtime Environment(JRL) or Java Development Kit (JDK) version 1.6 or newer.
  2. Apache maven version 2.0.10 or newer if you want to build it from maven.
Supported Platform:
  1. Windows 7 (64/32 bits) 
  2. Mac OS X(64 bits)
  3. Linux (64 bits).

Watir Ruby Based Automation Tool

About Watir:
:
Watir is an open source,  ruby based automation tool for web application. Watir drives application on web similar type as user do. It click on browser, fill form data, press button etc. Also it check result such as when any text appear on page.
Using ruby programming language we can make connection to data base, read files(csv, xls, txt, xml etc.) We can create our own function and library for reusable code.