Blogs: Automated integration testing with Selenium, Maven and Jetty

  1. What tools do you use to perform integration testing on your applications ? This post by Kevin McCormack explores the process using the following tools: * Selenium.- A suite of tools to automate web app testing across many platforms (http://selenium.openqa.org/). * Maven.- Apache's project management & dependency manager ( http://maven.apache.org/ ). * Jetty.- The Open-source Java web server ( http://www.mortbay.org/jetty/ ). Read Kevin's complete post on 'Integration testing with Selenium, Maven and Jetty': http://www.theserverlabs.com/blog/2008/09/17/automated-integration-testing-with-selenium-maven-and-jetty/

    Threaded Messages (2)

  2. Anyone get this to work?[ Go to top ]

    I can't get this to work, and the site theserverlabs.com has a problem where I can't post a comment The error I get is [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure C:\Documents and Settings\a449909\IntegrationTest\src\test\java\com\tsl\example cars\integration\SeleniumTestCase.java:[5,34] package org.openqa.selenium.serve does not exist C:\Documents and Settings\a449909\IntegrationTest\src\test\java\com\tsl\example cars\integration\SeleniumTestCase.java:[19,24] cannot find symbol symbol : variable SeleniumServer location: class com.tsl.example.cars.integration.SeleniumTestCase [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23 seconds [INFO] Finished at: Tue Oct 07 17:17:52 BST 2008 [INFO] Final Memory: 7M/14M [INFO] ------------------------------------------------------------------------
  3. Fixed problems[ Go to top ]

    I'm able to run these tests now. I didn't have openqa as one of the repositories, so I manually added the selenium jar listed as a dependency . Looks like the selenium pom specified more dependencies. I updated the pom file to add in the openqa repository and then all the required dependencies were downloaded.