Nested Clip Properties

Document created by Chris Sommerstad Employee on Jul 22, 2017
Version 1Show Document
  • View in full screen mode

Nested Clip Properties

In the Clip Editor, double-clicking to open the Selected tab for the nested clip accesses its properties. A nested clip’s properties are separate from those properties the clip has when not nested.

Clip nesting can be thought of as the equivalent of subroutines in coding. Like sub-routines, nested clips perform specific tasks in the test, and are independent and reusable. Since test clips have a full range of repeat options this practice increases the possible options of existing test scenarios.

It is possible to repeat a set of (nested) clips as a unit inside a parent clip. In such an approach, clips can repeat (serially or in parallel) within each instance of a given Virtual User (e.g. a track that repeats in parallel) for purposes other than repeating the overall scenario.

Nested Clip Properties (General and Repeat tabs)

As with any other clip element, a nested clip has properties of its own. This is true whether the clip’s parent is a clip or a container within a clip.

The nested clip has two lower panel property tabs: General and Repeat.

General Tab properties include Name, Description, Merge Targets checkbox (merges two or more targets into one target, where applicable).

  • Dynamic resource caching, which is always maintained at the clip level, will be pooled at the parent clip’s level if the default Use Parent’s Dynamic Resource Cacheremains checked. If this box is unchecked the nested clip will have its own dynamic resource cache.
  • As with other children, the Errors Should setting will default to “fail the parent“.
  • Select “Be recorded only” if validation on the nested clip should only fail itself, and not its parent(s).
  • If the Nested Clip, Repeat tab settings are used, then the nested clip will use repeat properties that are distinct to it.

Nested Clips, Nested Containers, and Property Paths

Nested clips and containers, like other repository objects, may refer to properties found in other CloudTest objects.

CloudTest property paths always begin with the current object. Therefore, when using property paths in nested clips/containersnote that the Property dialog box’s current *** refers to the location (e.g. clip element) where the dialog box was accessed.

For example, if one is in a nested clip when Properties is clicked above, then currentClip refers to that nested clip. In such a case, use Current Clip in tandem with a relative property path. For example, use ../propName with Current Clip. If more than one nesting level exists to navigate the property, use additional occurrences of “../” to reach the correct location.