Setting Properties

CloudTest provides full access to properties for your tests. Properties can be set in the application or programmatically using scripts.

CloudTest includes three property sets:



Both Custom Properties and System Properties objects are presented as convenience objects that can be thought of as backdoors that allow access to portions of the object model more easily.

The Global Properties object ( $globalprop ) does not represent a portion of the Test Composition object model since the properties it contains are beyond the composition scope. For example:

$globalprop.setUsingPath("Test property 1", "Initial value of Default global property \"Test property 1\"");

—Or—

$globalprop.set(null, "Test property 2", "Initial value of Default global property \"Test property 2\"")