OnNetVarChange Event

Applies to TestComplete 15.47, last modified on January 20, 2023
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 value of a network suite variable is changed.

Declaration

OnNetVarChange(SenderVarNameOldValueNewValue) Parameters
Sender [in] Required Variant
VarName [in] Required String
OldValue [in] Required Variant
NewValue [in] Required Variant

Description

The event occurs when the value of a network suite variable changes. You can use this event to perform desired actions when changing the network suite variables.

Parameters

The event has the following parameters:

Sender

The Event control that processes the event.

VarName

VarName specifies the name of the network suite (netsuite) variable whose value has been changed.

OldValue

Specifies the previous value of the netsuite variable.

NewValue

Specifies the new value of the netsuite variable.

Remarks

For information on how to create an event handler for this and other TestComplete events, see Handling Events.

See Also

Distributed Testing
Network Suite Variables
OnNetJobStateChange Event
OnNetSuiteStateChange Event
OnNetTaskStateChange Event
Handling Events
Event Control

Highlight search results