VP placeholders

VP placeholders resolve Test Object and verification point (VP) placeholder values into property strings. Default placeholders values are also resolved.

Usage: Use the following placeholder to customize the VP: Verification Point Default Name template:

vp placeholder

Description: Allows access to verification point attributes.

Syntax: %vp: argument%

Arguments for the vp placeholder:

type -- Returns the type of verification point being created. For example, text may be used for the Visible Text test of a Data verification point (Text).
description -- Returns the description of verification point as presented in the record UI. For example, Visible Text may be used for a Data verification point (Text).

testobject placeholders

Description: This placeholder resolves values relative to an entry in the object map. It is valid only during helper script method generation. The property for the testobject placeholder returns the property name.

Syntax: %testobject: property%

One recognition property:

.class -- Returns the Java class name, the HTML tag (with an HTML prefix), or the VB class name of the test object.
Note:
  • Administrative properties are prefixed with a # character. For information about administrative and recognition properties, see Property Sets in the Test Object Map topic.
  • From the VP: Verification Point Default Name script template, you can also access any dynamically available property, which is the actual test object in the software under test, not the mapped test object.

Administrative properties:

#name -- Returns the test object's descriptive name.
#role -- Returns the test object role.
#domain -- Returns the domain in which the test object is defined, that is, Java, HTML, or .NET.
#testobject -- Returns the interface class name used to interact with the test object.
#class -- Returns the full class name of the test object.
#className -- Returns the simple class name for the test object, that is, the full class name without the package information.
#description -- Returns a user-specified description, defined in the object map editor. If this property is null, Test UI uses the simple #className property.
#property -- Returns any test object property converted to its toString value. You can find the properties available for a test object in the test object map property set.