OnValidate Event

Applies to TestComplete 15.63, last modified on April 22, 2024
This event is obsolete. See the Remarks section below.


OnValidate(SenderObjVParams) Parameters
Sender [in] Required Variant
Obj [in] Required A tested object
VParams [in] Required Variant


Occurs when you call the Validate method of the Obj object. You can use this event to check whether the object properties are valid.


This event has the following parameters:


The Event control that processes the event.


The object whose Validate method is called.


VParams is a value or an array of values that can be used to validate the object properties. This is the same value or array that was passed within the VParams parameter of the Validate method.


This event is obsolete. It is supported for backward compatibility only. To validate object properties, use property checkpoints and object checkpoints.

For information on how to create an event handler for this and other TestComplete events, see Handling Events.

See Also

About Property Checkpoints
About Object Checkpoints
Validate Method
Handling Events
Event Control

Highlight search results