Browser

Invariant-Based Automatic Testing of AJAX User Interfaces

Free registration required

Executive Summary

AJAX-based Web 2.0 applications rely on stateful asynchronous client/server communication, and client-side runtime manipulation of the DOM tree. This not only makes them fundamentally different from traditional web applications, but also more error-prone and harder to test. The authors propose a method for testing AJAX applications automatically, based on a crawler to infer a flow graph for all (client-side) user interface states. They identify AJAX-specific faults that can occur in such states (related to DOM validity, error messages, discoverability, back-button compatibility, etc.) as well as DOM-tree invariants that can serve as oracle to detect such faults.

  • Format: PDF
  • Size: 245.6 KB