UITest.OnErrorActions Property
Gets or sets a list of test actions to execute if the test execution encounters an error.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Property OnErrorActions As ActionList
public ActionList OnErrorActions { get; set; }
public:
property ActionList^ OnErrorActions {
ActionList^ get ();
void set (ActionList^ value);
}
member OnErrorActions : ActionList with get, set
function get OnErrorActions () : ActionList
function set OnErrorActions (value : ActionList)
Property Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.ActionList
A list of test actions to execute if the test execution encounters an error.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.