The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 bool StopOnError { get; set; }

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.

Return to top