WebART Overview


Here's a brief description of WebART, to help you understand the example. WebART interfaces to a Web-based application at the HTTP protocol level, just like a browser, and interacts with the system though pages, links, forms, and HTTP requests like GET, POST, and PUT. It has a procedural scripting language that provides basic programming constructs, including support for modules (called subscripts), and has a capture facility that allows scripts to be created by performing interactions manually with a browser.

WebART supports the traditional capture/reply baseline/compare test automation model, but it also provides a method for building modular, data-driven, self-verifying scripts. Creating scripts like this is pretty much a programming effort. You can capture some short segments of code and paste these into your test scripts. A set of utilities, called the MDS (Modular Data-driven Self-verifying) framework, provides functionality to get test and validation data from external files, route the test data to the appropriate modules, perform the validations, and log the outcomes. By using this framework, you have to code only the details of the interactions with the system.

The jWebART package provides an interface utility that integrates with the MDS framework, so that by using both packages, we just need to write the interactions for login, createUserId, and deleteUserId.



Testing Extreme Programming
Testing Extreme Programming
ISBN: 0321113551
EAN: 2147483647
Year: 2005
Pages: 238

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net