Book description
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.
Table of contents
-
An Introduction to Testing Web Applications with twill and Selenium
- Introduction
-
Functional Web Testing with twill
- A brief history of twill
- What Is twill?
- Introducing twill
- More Advanced twill Features
- twill Extensions
- Using twill from Python
- Extending twill Yourself
- Functional Web Testing with Selenium
-
Testing a Simple Web Application with twill and Selenium
- The Django "poll" Application
- The First Step: Charting a Path to Test
- The Second Step: Building a Test Script
- The Third Step: Controlling the Application Environment
- Integrating Fixtures and Tests with unittest
- The admin Interface
- Recording Some Simple Selenium Tests
- Adding a Test Condition to the Script
- Concluding Remarks
- About the Authors
Product information
- Title: An Introduction to Testing Web Applications with twill and Selenium
- Author(s):
- Release date: June 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596527808
You might also like
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
book
Complete Guide to Test Automation: Techniques, Practices, and Patterns for Building and Maintaining Effective Software Projects
Rely on this robust and thorough guide to build and maintain successful test automation. As the …
book
Unit Testing Principles, Practices, and Patterns
Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target the …