BaseControlAssertTAssert Method (Boolean, String, String, String)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Throw AssertException if condition is false.

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
)

Parameters

condition
Type: SystemBoolean
The condition result from previous condition test.
message
Type: SystemString
The message to put in the assert.
expected
Type: SystemString
The Expected value to display in the assert.
actual
Type: SystemString
The Actual value to display in the assert.

Return Value

Type: Boolean
True.
Exceptions

ExceptionCondition
AssertExceptionThrown when the comparison fails.
See Also

Reference