How to Make Simple End-To-End Tests With JavaTea

Although automated testing is an effective way to validate web applications, creating automated tests is time-consuming and maintaining the tests is painful. End-to-end testing is especially complex and taking time to execute.

To make it easier, this article proposes to use JavaTea, which is an end-to-end functional automation framework. It is built on Selenium WebDriver but it allows you to describe tests with less code compared to Selenium. The following three topics are focused in this article:

JavaTea Tutorial: Using a Test Tool as a Demonstration Tool

When giving a demonstration of a web app, there are many chances for things to go wrong. You may be distracted by manual operations and loose what to say next. You may make the audience wait for a long time before showing a target page due to entering required values. To avoid those troubles, this article proposes using the JavaTea test tool as a demonstration tool.

JavaTea is an end-to-end test automation tool built on Selenium WebDriver. It is originally designed to execute test scripts against a browser, but, here we will execute demonstration scenarios instead of test cases so that we can focus on speaking while giving a demonstration. Moreover, JavaTea allows us to decorate web pages with CSS effects and balloons to draw the audience's attention to particular features. Below is an example of decorated web site for a demonstration: