API test events structure

Relevant for: API testing only

When adding event handlers for your API tests, you can choose from a number of different event handlers. Each of these event handlers runs at a different place in the test step's execution, and likewise can access different properties of the current activity.

For most of the API activities included in UFT, you can choose from the standard event handlers: BeforeExecuteStepEvent, AfterExecuteStepEvent, or CodeCheckpointEvent. The function of these is the same regardless of which test step they are used with or the unique properties for each test step.

For Web service and SOAP Request activities, you can access additional event handlers that enable you to add specific functionalities to the Web service call or SOAP request.

The following sections detail the possible events you can use when adding event handlers: