Skip to main content
.NET 6.0+

Command.ExpectException Property

Gets if the current Functional Testing command is expected to fail.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v23.2.dll

NuGet Package: DevExpress.EasyTest


public bool ExpectException { get; }

Property Value

Type Description

true, it the command is expected to fail, otherwise - false.


The command is expected to fail when it is prefixed by the “!“ symbol in EasyTest script. See the EasyTest Script Reference topic for details.

See Also