Calling a Custom Module from a CloudTest Script

  1. Next, create a CloudTest script (from Central > Scripts) in your test that will call the new Custom Module.

In this example script, we will need three lines:

How to

  1. An import statement that imports the desired jar file.
  2. A variable for the ID that we are generating, such as barcode.
  3. A line each for the original and the changed barcode object's label that will post a message into the test result using the LEVEL_INFO parameter.For example:
  4. Save the script before proceeding. Leave the script open in the Script Editor.