The Event element of the description.xml file is used to define a script routine that is executed by a custom keyword test operation when a certain event occurs. For example, when a new operation instance is created, when the operation is executed during the test run or needs to be set up at design-time, and so on.
An Event element has no child elements.
The element has the following attributes:
Required. The event name. For a full list of events that occur in keyword test operations, see Creating Keyword Test Operations - Events Reference.
The routine must meet the requirements of the event that it handles. That is, the routine must have the same number of parameters as the event and, if needed, must have an appropriate return value.