Prerequisites

The Custom Module feature permits users to create and add their own Java custom modules (such as a Jar file) to a CloudTest environment. The Java Custom Module engine supports JAR files built using Java 7 and earlier.

Note: In the real world, you'll create your own Java jar to use. For demonstration purposes, the remainder of this article will use the open source project Barbecue. The Barbecue open source project generates bar codes. This example creates a Java object, and then calls a couple of methods on it. The created object represents a barcode, and the calls get and change the label on that barcode.