BaseControlAssertTAssertString Method

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Commnon assert for strings.

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

protected bool AssertString(
	string expected,
	string actual,
	StringCompareType compareType,
	bool throwOnFailure = true
)

Parameters

expected
Type: SystemString
The expected value.
actual
Type: SystemString
The actual value.
compareType
Type: ArtOfTest.CommonStringCompareType
The compare type (Contains, Exact, etc.).
throwOnFailure (Optional)
Type: SystemBoolean

Return Value

Type: Boolean
True.
Exceptions

ExceptionCondition
AssertExceptionThrown when the comparison fails.
See Also

Reference