Occurs when the in-place editor is closed and the operation needs to save the changes made.
Declaration
ApplyChanges(Data)
Parameters
Data | [in] | Required | Object |
Description
When an in-place editor used by a custom keyword test operation displayed in the Keyword Test editor is closed and its value has been validated, the ApplyChanges
event is raised for the operation to apply this value. The event handler can, for instance, copy this value from a global script variable where it is stored to the appropriate operation parameter or field.
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.
Remarks
When an in-place editor is closed, events occur in the following order:
HasChanges
Validate
ApplyChanges
See Also
Events Reference
StartEditing Event
GetEditValue Event
SetEditValue Event
HasChanges Event
Validate Event
ValidationMessage Event
Creating Keyword Test Operations