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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.