Tag Archives: Maven

Selenium – Integrate the Selenium Tests into Maven Build

In this article, i will show you how to integrate the Selenium tests into a Maven webapp project using the selenium-maven-plugin and cargo-maven2-plugin.

In this example, i used JUnit as the testing framework. There is no problem if you use TestNG to replace JUnit. This example is a simple Java webapp Maven project which only shows a simple html page (index.jsp). During the build, a Selenium Server is started with the webapp deployed in the Embedded Jetty. It then runs an Unit Test (Selenium Test) during the Maven integration-test life cycle. Here comes to the code.
Continue reading Selenium – Integrate the Selenium Tests into Maven Build

Selenium – Automation Tools for Web Application Testing

Selenium is a suite of tool to automate web application testing. Unlike the unit testing in backend application, it is hard to test user interface in frontend application. Thanks Selenium, it makes frontend testing much easier and fun.

Selenium are 3 sets of tools.

  1. Selenium IDE – A Firefox plugin to record and convert user actions into different programming language (Selenium tests)
  2. Continue reading Selenium – Automation Tools for Web Application Testing

Tapestry – Create a Tapestry Project in Maven

After creating all the entity beans in the backend project. it’s time to move on to the frontend stuff. First, we need to decide what Java frontend framework is used in our project. so i take the chance to learn Tapestry.

With Maven, we can make use of the Archetype as a project template to start our first Tapestry project. This post shows u how to make start your first Tapestry project in Eclipse with m2eclipse installed.
Continue reading Tapestry – Create a Tapestry Project in Maven