Once written, a CloudTest script is then placed into a test clip using the same method used for other clip elements (messages, browser actions, delays, etc.).
Note: For an overview of creating, editing, and placing scripts into tests, refer to Scripts.
SOASTA CloudTest Object Model
In a web browser, the Document Object Model (DOM) is represented by a tree structure whose nodes can be navigated and then manipulated by a programmer using scripts. Similarly, scripts written for SOASTA CloudTest make use of a simple object model.
The Test Composition is the root element, while other Composition objects also have an object. Together these objects comprise an "object model" that allows access to the Test Composition and to all of its component parts that have either public or local scope (refer to Setting and Using Message Scope).
As with the DOM, a programmer can use scripts to manipulate objects within this object model.
These pre-defined variables offer an object model variable via the Context object (
Note: SOASTA CloudTest offers three property variables (