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 StopOnError As Boolean

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.

Community Additions