UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in out of the box.
If you need to use and extend the Silverlight Add-in, contact OpenText Support.
Called by the UFT infrastructure at the end of the recording session to stop listening for events.
If you add an Event handler using the the '+=' syntax, unsubscribe from all the events to which your process was listening.
SourceControl.Click += new EventHandler(this.OnClick);
public override void RecordStop()
SourceControl.Click -= new EventHandler(this.OnClick);
|Visual Basic (Declaration)|
Overridable Sub RecordStop()
virtual void RecordStop()