BaseControlAssertTAssert Method (Boolean, String, String, String, Boolean)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Throw an AssertException if conditiion is false and throwAssert is true.

Namespace:  ArtOfTest.WebAii.Controls
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

protected bool Assert(
	bool condition,
	string message,
	string expected,
	string actual,
	bool throwAssert
)

Parameters

condition
Type: SystemBoolean
The condition result.
message
Type: SystemString
The message.
expected
Type: SystemString
Expected value.
actual
Type: SystemString
Actual value.
throwAssert
Type: SystemBoolean
Whether or not to throw the assert when condition is false.

Return Value

Type: Boolean
Returns true/false of the condition result.
Exceptions

ExceptionCondition
AssertExceptionThrown when the comparison fails and throwAssert is true.
See Also

Reference