- Subscribe to RSS Feed
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
|
Since scripts are used in the same context in Test Clips as any other element—and Test Clips are contained by Test compositions within Tracks—the resulting object model is fairly simple. The following objects are contained in the object model and can be accessed in scripts using the
|
|
compositionSpecifies the current composition. For example,
A test composition is the root element in the SOASTA CloudTest Object Model and may contain some or all of the remaining objects. For more information, see Composition Object. Properties: Methods: |
|
currentBandSpecifies the current Band according to context. Null if there is no band. The band is a container for track, and as a result, everything else in the object model may be contained within a band. For example, For more information, see Band, Track, Chain, Checkpoint, and Script Objects. Properties: Methods: |
|
currentTrackSpecifies the current track according to context. A track may contain one or more clips, which may in turn contain messages, checkpoints, chains, and scripts. Null if there is no current track. For more information, see Band, Track, Chain, Checkpoint, and Script Objects. Properties: Methods: |
|
currentClipSpecifies the current Test Clip according to context. The test clip may contain messages, checkpoints, and scripts. Null if there is no current clip. For more information, see Clip Object. Properties:
Methods: |
|
currentChainSpecifies the current chain. A chain is a grouping of messages, scripts, or checkpoints within the currentClip. This grouping may be used to control the timing of the chain members. Null if there is no current chain. For more information, see Band, Track, Chain, Checkpoint, and Script Objects. Properties: Methods: |
|
currentMessageSpecifies the current message. The message is the basic unit of Test Compositions. Null if there is no current message. For more information, see Message Object. Properties: |
|
currentBrowserActionSpecifies the current Browser Action according to the context in which the current script is executing. Null if there is no current Browser Action. For more information, see Browser Action Object. Properties: Methods: |
|
currentCheckpointSpecifies the current checkpoint. The checkpoint is a way of imposing a dependency, such as stopping action on whatever comes after it until an expected response is received. For more information, see Band, Track, Chain, Checkpoint, and Script Objects. Properties: Methods: |
|
currentScriptSpecifies the current script. A script is another term for a script. Null if there is no current script. For more information, see Band, Track, Chain, Checkpoint, and Script Objects. Properties: Methods: |
|
currentTargetSpecifies the current target. The target is the URL or destination of messages within the clip. For more information, see Target Object. Properties: Methods: |
|
currentDelaySpecifies the current delay according to the context in which the current script is executing. Null if there is no current Delay component. Properties: Methods: |
|
Result ObjectThe Result object is a special case within the SOASTA CloudTest Object Model since results are a byproduct of "playing" a test composition that are not "parts’ of that composition. The
The above line of code uses the You can post messages to the result object for the current context using the following properties: For more information, see Result Object. |
