Testing Browser-Based Applications and Web Services (Extended Session)

In today’s world of applications that use browser-based GUIs to consume web services from a variety of providers, testers must adapt existing strategies and learn new techniques. Fortunately, many tools exist to help in these efforts. This session will focus on three such tools: Restlet, HtmlUnit, and Fluentlenium. When used together, this suite allows testers to verify behaviors ranging from the simple web service that returns structured data (like JSON or XML) to a complete GUI that relies on Javascript, AJAX, and dynamic manipulation of the DOM. Additionally, even though these tools are Java-based, the tester does not need to be an expert Java programmer to use them, nor is it necessary to have access to the application’s source code. However, getting started with these tools can seem daunting to those not familiar with Java dependencies and JAR files. This session will break down the barriers to entry by demonstrating how to use these tools with jUnit to develop a suite of tests for testing browser-based and web service applications.

Attendees will learn:

  • How to configure an environment for using jUnit, Restlet, HtmlUnit, and Fluentlenium
  • How to use Restlet to write tests to verify low-level web service and HTTP responses
  • How to use HtmlUnit to write tests to verify mid-level HTTP and HTML responses
  • How to use Fluentlenium to write tests to verify complex user interaction with HTML pages

Session emphasis will be on introducing the tools and configuring the environment so that attendees can immediately begin exploring and experimenting upon returning from the conference.

Location: Fairbanks Terrace C Date: April 2, 2015 Time: 10:15 am - 12:30 pm Robert Walsh Robert Walsh