The Network Suite functionality is deprecated. We don’t recommend using it for distributed testing. Consider using a CI/CD system for managing distributed tests. See Migrating Distributed Tests to CI/CD Systems for details. In case you need to run web tests on multiple environments in parallel, you can also try using your project’s Execution Plan. |
Occurs when the network suite’s state changes.
Declaration
OnNetSuiteStateChange(Sender)
Parameters
Sender | [in] | Required | Variant |
Description
The event occurs when the Network Suite's state changes. You can use this event to perform desired actions when changing the state of the Network Suite.
Parameters
The event has the following parameter:
Sender
The Event control that processes the event.
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
OnNetJobStateChange Event
OnNetTaskStateChange Event
OnNetVarChange Event
Handling Events
Event Control