Occurs when a job’s state changes.
Declaration
OnNetJobStateChange(Sender, Job)
Parameters
Sender | [in] | Required | Variant | |
Job | [in] | Required | A Job object |
Description
The event occurs when a job’s state changes. You can use this event to perform desired actions when changing the job state.
Parameters
The event has the following parameters:
Sender
The Event control that processes the event.
Job
Job specifies the job whose state has changed.
Remarks
For information on how to create an event handler for this and other TestComplete events, see Handling Events.
Since the Verify
, Run
and Stop
methods of the NetworkSuite
, Job
and Task
objects try to change the corresponding object’s state, you cannot call these methods from this event’s handler.
See Also
Distributed Testing
OnNetSuiteStateChange Event
OnNetTaskStateChange Event
OnNetVarChange Event
Handling Events
Event Control