GetEditValue Event

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

Occurs when the in-place editor requests the value to display in the Keyword Test editor.

Declaration

GetEditValue(Data) Parameters
Data [in] Required Object
Result     Variant  

Description

The GetEditValue event occurs when the in-place editor used by a custom keyword test operation in one of the Keyword Test editor columns requests the value to display. The event handler should return this value. A common approach to handling an edit value is to store it in a global script variable or an operation field and return it via the GetEditValue event handler.

Parameters

The event has the following parameter:

Data

An object that provides access to the operation fields. This object contains properties that correspond to individual operation fields and whose names coincide with the field names.

Return Value

The value to be displayed in the in-place editor.

See Also

Events Reference
StartEditing Event
SetEditValue Event
HasChanges Event
Validate Event
ValidationMessage Event
ApplyChanges Event
Creating Keyword Test Operations

Highlight search results