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

See Also

Reference

UITest Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace