Course Overview

There are many commercial tools and open source frameworks for automated testing of web applications. Sahi, a tool for automating web application testing, is gaining popularity. Sahi is an open source testing tool for web applications, with the facility to record and playback scripts. Developed in Java and Javascript, this tool uses simple Javascript to execute events in the browser.

Course Content


  • Introduction
  • Screen-shots
  • Features
  • Limitations

Getting started

  • Prerequisites
  • Download
  • Install
  • Browser configuration
  • Record
  • Playback
  • View logs

Sahi Scripting Basics - I

  • Statements
  • Variables
  • Functions
  • Conditions and looping
  • _Include

Sahi Scripting Basics - II
Sahi APIs (built-in functions)   

  • All APIs
  • Browser Accessor APIs
  • Browser Action APIs
  • Miscellaneous APIs

Sahi Scripting - Calling Java
Exception handling using try-catch

Recovering without try-catch using _setRecovery
Script lifecycle call back functions   

  • onScriptFailure
  • onScriptError
  • onScriptEnd

Data Driven Testing   

  • _getDB
  • CSV Files
  • Excel
  • Databases

Multithreaded Playback (Parallel execution)   

  • Suites
  • Commandline
  • Ant

Advanced techniques, tips and examples   

  • HTTPS/SSL Sites
  • Configuring an External proxy
  • Adding jars to Sahi's classpath
  • Configuring Browser Types
  • Sahi GUI Less Installation
  • Sahi headless with PhantomJS
  • Sahi headless with Xvfb
  • Sahi with Android
  • Tweaking Sahi APIs
  • Jenkins Integration
  • Sending Emails
  • CSV Files as Suites with Tags
  • Working with SSH
  • Reading PDF Files
  • Run Sahi Scripts from Java

Other language drivers

  • Driving Sahi from Java
  • Ruby etc
  • Java
  • Ruby

Trouble Shooting Sahi
Sahi Pro   

  • Sahi Pro V4.4 Documentation (PDF)
  • Excel Framework
  • Load Testing (Beta)
  • Sahi Flex Support - sfl (Beta)
  • Sahi Applet Support (Beta)
  • Running tests on multiple machines
  • Web based Testrunner

Customer Reviews

Thanks to Xpertised and the tutor who walked me through all the topics with Practical exposure which is helping me in my current project.

Course was quite helpful in terms of understanding of concepts and practicality. Its really a very friendly environment to learn. The timing were mutually chosen, as we both are working professional. I am quite satisfied with the course.


For Batch Details
Call us at: +91 7259222234

Not sure? Consult Our Experts

Looking for a Training for


My Team/Organization

I agree to be contacted over mail or phone

Call us at: +91 7259222234