
An Introduction to Testing Web Applications with Twill and Selenium
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Persons
Content
- Intro
- Introduction
- What Don't We Cover?
- What Are twill and Selenium? And Why Not...
- Contacting the authors
- Acknowledgements
- Functional Web Testing with twill
- A brief history of twill
- What Is twill?
- Introducing twill
- Filling out forms
- Cookie management
- Testing for success
- Variables
- Using the shell
- Command reference and help
- The twill command line
- Scripts
- More Advanced twill Features
- runfile and run: Executing other scripts and Python commands
- String and argument handling
- Debugging options
- Output control
- Miscellaneous HTTP issues
- Browser agent string
- HTML parsing
- HTTP-EQUIV=REFRESH support
- HTTP authentication
- Organizing your twill tests
- Using a framework to organize and run your twill tests
- Recording tests with scotch
- twill Extensions
- check_links: a simple link checker
- require: making assertions about pages
- csv_iterate: Iterating over values in CSV files
- argparse: Passing command-line arguments into scripts
- dirstack: Changing directories
- formfill: Convenience functions for filling out forms
- Using twill from Python
- Extending twill Yourself
- Writing a simple extension module
- Writing domain-specific languages in twill
- More on DSLs
- Functional Web Testing with Selenium
- A Brief History of Selenium
- Introducing Selenium Core
- Building a Selenium Test Suite
- Deploying and running tests
- Recording tests with the Selenium IDE
- A guide to Selenium commands
- Opening web pages by URL
- Clicking on links
- Clicking on submit buttons
- Clicking on checkboxes
- Entering text in input fields
- Selecting values in drop-down lists
- Verifying the state of the application
- Using variables
- Locating page elements with XPath Checker
- Selenium and JavaScript
- Asynchronous HTTP requests and Ajax
- Testing a Simple Web Application with twill and Selenium
- The Django "poll" Application
- Installing and running the 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
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.