In pursuit of code quality: Programmatic testing with Selenium and TestNG
Automated user acceptance testing made easy
Selenium is a Web testing framework that establishes a new approach to
validating Web applications. Unlike most Web testing tools, which attempt to
simulate HTTP requests, Selenium approaches Web testing as if it were the
browser itself. When you run an automated Selenium test, the framework fires
up a browser and actually drives the browser through the steps delineated in
the test, just the way a user would do when interacting with your
application.
In his latest installment, Programmatic testing with Selenium and TestNG, of his "In pursuit of code quality series" , Stelligent President Andrew Glover
shows you how to run Selenium tests programmatically, using TestNG as
the test driver. Once you've added TestNG's flexible testing features
(including parametric fixtures) to Selenium's native toolkit, all you
need is a little help from DbUnit and Cargo to write fully automated,
logically repeatable acceptance tests.
Don’t miss the accompanying code quality discussion forum where you can learn first-hand about code metrics, test frameworks, and writing quality-focused code.
|
|
Last Updated ( June 04, 2007 )
|