Top Rounds
| We are Hiring! |

Sahi Training - Contents ·

Introduction and demo if needed

Web Application overview.
Web Servers, Browsers, HTML, DHTML, Javascript, Server side languages.
Overview of html elements, windows, frames, iframes and AJAX.
Describes how each of these work and where they are typically used.

How Sahi works
Sahi’s design (briefly) and information needed to understand Sahi better.

Using Sahi
Setting up Sahi.
How to recognize different web elements, visually and by using the Sahi Controller.
How to use the Sahi Controller to identify elements, and what alternatives to use if needed.
Describes the order of attributes by which elements are recognized:
eg by value, name, id for buttons.
What to do when you cannot identify an element using Sahi’s APIs.
Using the different controls on the recorder for maximum benefit.

Slightly advanced controls
Javascript alerts, confirms and prompts.
New window popups.
New modal dialog popups.

Scripting
Recording a script and using functions, variables etc.
Events not recorded by the Controller like window close, mouseover etc.
Explanation of browser functions (functions defined in < browser >
tags)
Usage of _set and _condition
Use of try catch for recovery scenarios.
Interacting with files and databases.
Common patterns of Sahi usage, and how to keep code maintenance minimal.
Unit testing
Data driven testing

Running in batch mode
Creation of suite.
Using the batch file and ant target.
Using multithreaded playback.
Trouble shooting.

Errors, identification and debugging
How to use the logs to identify a problem.
Common errors and how to fix them
Explanation of settings in sahi.properties and when to modify them.

Running https/ssl sites
Basics of SSL.
How Sahi handles SSL.
How to get your SSL website working.
Things to look out for while using SSL.

Extending Sahi
Extending Sahi on the browser side.
Extending Sahi on the server side.




---


Top Rounds