Supplementing your diet with Selenium and TestNG

Selenium is a hip testing framework that makes it ooohhh so easy to run user acceptance tests on Web applications. This month’s “In pursuit of code quality” article, entitled “Programmatic testing with Selenium and TestNG” shows you how to run Selenium tests programmatically, using TestNG as the test driver. Once you’ve added TestNG’s flexible testing features 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 forget to keep on truckin’ at the “Improve Your Java Code Quality” forum too!

Related odds and ends
 

2 Responses to “Supplementing your diet with Selenium and TestNG”


  1. [...] Richard Carnage wrote an interesting post today onHere’s a quick excerptSelenium is a hip testing framework that makes it ooohhh so easy to run user acceptance tests on Web applications. This month’s “In pursuit of code quality” article, entitled “Programmatic testing with Selenium and TestNG” shows you how … [...]

  2. on 11 Apr 2007 at 3:13 pm Sören Chittka

    Hi there!

    Currently I’m reading this article on developerWorks, but it does not work for me.
    When creating a new DefaultSelenium and then starting it, I always receive the message “Could not contact Selenium Server; have you started it?” - is there anything I have to do before this steps?

    Maybe it would help if you could describe, which jars and configuration-steps are necessary before running the tests.

    In every other aspect this is a great article and I like to see more people use TestNG.
    Keep up the good work.

Trackback this Post | Feed on comments to this Post

Leave a Reply