An Introduction to Testing Web Applications with twill and Selenium

C. Titus Brown

Gheorghe Gheorghiu

Jason Huggins

June 18, 2007

Abstract

This Short Cut is an introduction to building automated web tests using two tools, twill and Selenium. twill is a simple web scripting language that can be used to automate web tests, while Selenium is a web testing framework that runs in any browser and can be used to test complex web sites that make extensive use of JavaScript.

The best way to use this Short Cut is to run through the examples. We expect that within an hour you can start writing your own functional tests in either twill or Selenium, and within a day you will understand most, if not all, of the possibilities and the limitations of these tools.

Introduction

Welcome!

This Short Cut is an introduction to building automated web tests using two tools, twill and Selenium. twill is a simple web scripting language that can be used to automate web tests, while Selenium is a web testing framework that runs in any browser and can be used to test complex web sites that make extensive use of JavaScript.

The best way to use this Short Cut is to run through the examples. We expect that within an hour you can start writing your own functional tests in either twill or Selenium, and within a day you will understand most, if not all, of the possibilities and the limitations ...

Get An Introduction to Testing Web Applications with twill and Selenium now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.