 | ValidateAreEqual Method (Object, Object, String) |
Validates if the actual value of an object equals an expected value.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void AreEqual(
Object actual,
Object expected,
string message
)
Public Shared Sub AreEqual (
actual As Object,
expected As Object,
message As String
)
Parameters
- actual
- Type: SystemObject
The actual value of the object. - expected
- Type: SystemObject
The expected value of the object. - message
- Type: SystemString
The message to log. "{0}" is replaced by the string
representation of actual, "{1}" by the string representation
of expected.
Exceptions
See Also