This documentation is archived and is not being maintained.

LoadTest.TestSelected Event

Occurs every time an iteration of one of the tests contained within the LoadTest is selected.

Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in microsoft.visualstudio.qualitytools.loadtestframework.dll)

public event EventHandler<TestSelectedEventArgs> TestSelected
/** @event */
public void add_TestSelected (EventHandler<TestSelectedEventArgs> value)

/** @event */
public void remove_TestSelected (EventHandler<TestSelectedEventArgs> value)

JScript supports the use of events, but not the declaration of new ones.

The event handler may change the test to be started by setting the TestName property of the TestStartingEventArgs class.