This documentation is archived and is not being maintained.

WebTest::StopOnError Property

Gets or sets the indication of whether the test should stop running when an error occurs.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
property bool StopOnError {
	bool get ();
	void set (bool value);
}

Property Value

Type: System::Boolean
true stops the test after an error occurs; false allows the test to continue after an error.

In the context of a load test, StopOnError stops only the current iteration or instance of the Web performance test from running. StopOnError does not stop other currently active or future instances of the Web performance test from running.

Show: