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 ArrayType.PropValueSet
property returns the collection of unique array item values that are held in all array objects. You can use this collection to programmatically filter array objects that will participate in testing. For more information, see the description of the PropValueSet
object.
Declaration
ArrayTypeObj.PropValueSet(FieldName)
Read-Only Property | A PropValueSet object |
ArrayTypeObj | An expression, variable or parameter that specifies a reference to an ArrayType object | |||
FieldName | [in] | Required | String |
Applies To
The property is applied to the following object:
Parameters
The property has the following parameter:
FieldName
Specifies the name of the array item whose unique values collection should be returned.
Note: | If you use DelphiScript, you need to enclose FieldName in square brackets: PropValueSet[FieldName] . |
Property Value
A PropValueSet
object.
Example
Using this property, you can easily filter the desired objects, for example. To see the code snippet demonstrating this, click here.