PropValueSet Property

Applies to TestComplete 14.40, last modified on April 22, 2021

The object-driven testing (ODT) functionality is deprecated. Do not use it to create new tests. It will be removed from the product in one of the future releases. As an alternative, you can create custom classes in your scripts. For more information, see Alternatives to the ODT functionality.

Description

The Class.PropValueSet property returns a collection of unique property values that are held in all the objects based on the ClassObj class. You can use this collection to programmatically filter the objects that will participate in testing. For more information, see the description of the PropValueSet object.

Declaration

ClassObj.PropValueSet(PropertyName)

Read-Only Property A PropValueSet object
ClassObj An expression, variable or parameter that specifies a reference to a Class object
PropertyName [in]    Required    String    

Applies To

The property is applied to the following object:

Parameters

The property has the following parameter:

PropertyName

Specifies the name of the property whose collection of unique values should be returned.

Property Value

A PropValueSet object.

Remarks

If you use DelphiScript, you need to enclose PropertyName in square brackets: PropValueSet[PropertyName].

Example

To view an example demonstrating how to use the PropValueSet property, click here.

See Also

Controlling Object-Driven Tests
PropValueSet Object

Highlight search results