Crawljax – A Tool for Automating Web Application Testing

Published December 22nd, 2009 Under AJAX, Open Source Tools | Leave a Comment

Crawljax is a tool for crawling any AJAX/GWT application. It uses WebDriver to navigate through the different states of a web application. With plugins and invariants Crawljax can be used to perform various automated tests. For example: security testing, regression testing, accessibility testing, performance testing, cross-browser testing…

Strategies For Testing Ajax Web Applications

Published December 16th, 2009 Under AJAX | Leave a Comment

As a Python web developer you are probably familiar with the paradigms of testing simple web applications. Your test case makes a GET / POST request, your program responds with an HTML page, and your test verifies the HTML elements. Unfortunately, today’s typical web application is not so simple! Since modern browsers support asynchronous JavaScript (Ajax) very well, the HTML response might deliver program code to run on the client’s web browser. The browser’s runtime environment would then interact with your server-side Python program and you now have a big problem: How does your test suite cover both server-side functionality and client-side functionality? This talk will use a real Python / Ajax web application as an example then offer practical strategies for creating a fast, scalable test suite to help ensure that each release of such an app works as intended. It goes beyond just the tools and technologies; it examines architectural strategies — how and when to use stubs, how to design a testable UI, etc — so that as your application grows in size, your tests remain fast and effective.

Source and slides for this presentation

Building a Simple Configuration-driven Web Testing Framework With Twill

Published December 9th, 2009 Under Open Source Tools | Leave a Comment

Building a flexible and scalable functional testing framework for your application is typically an evolutionary process. You experiment and find things that work, and things that don’t, particularly if you have little programming experience. Sometimes, you proceed down a path that binds your hands later down the road, and a massive refactor is needed. I would like to present a simple testing framework built upon several existing, free technologies (ConfigObj, twill, nose) and models (Page Objects, Scenario Objects, Abstract State Machines) that is easy to configure, extend, and maintain.

Source, slides and code

Using Windmill

Published December 3rd, 2009 Under Open Source Tools | Leave a Comment

Windmill is the best-integrated solution for Web test development and its flexibility is largely due to its development in Python. This talk will get you writing and running automated tests and show off some of the most useful built-in tools for debugging and continuous integration.

Presentation slides

iPhone Acceptance Testing with uispec

Published November 30th, 2009 Under Open Source Tools | Leave a Comment

UISpec is a Behavior Driven Development framework for the iPhone that provides a full automated testing solution that drives the actual iPhone UI. It is modeled after the very popular RSpec for Ruby. To make finding specific views in the iPhone UI easy, UISpec includes a very powerful view traversal DSL called UIQuery. Not only can you easily traverse the view heirarchy, you can also interact with the views you find.

« go backkeep looking »