Share this page

Verify Class
Class for verifying expected values in your application.
Remarks
When a Verify method returns a false value, the step fails, but the failure does not throw an exception or cause the test to stop running.

C# Syntax

    public static class Verify

Inheritance Hierarchy

System.Object
HP.LFT.Verifications.Verify

Public Methods

| Name | Description
--- | --- | ---
| AreEqual | Overloaded. Checks whether two IEnumerable values are equal.
| AreEqualIgnoringCase | Checks whether two string values are equal, ignoring case.
| AreNotEqual | Overloaded. Checks whether two integer values are different.
| AreNotEqualIgnoringCase | Checks whether two string values are different, ignoring case.
| Contains | Overloaded. Checks whether the provided collection contains the object provided in the second argument.
| EndsWith | Checks whether the 'expected' string is the last part of the 'actual' string.
| Greater | Overloaded. Checks whether the first number specified is greater than the second for integer values.
| GreaterOrEqual | Overloaded. Checks whether the first number specified is greater than or equal to the second for integer values.
| IsFalse | Checks whether the specified condition is false.
| IsMatch | Checks whether the specified regular expression matches the specified string value.
| IsNotNullOrEmpty | Overloaded. Checks whether the provided collection is not null or empty.
| IsNullOrEmpty | Overloaded. Checks whether the provided collection is null or empty.
| IsTrue | Checks whether the specified condition is true.
| Less | Overloaded. Checks whether the first number specified is less than the second for integer values.
| LessOrEqual | Overloaded. Checks whether the first number specified is less than or equal to the second for integer values.
| StartsWith | Checks whether the 'expected' string is the first part of the 'actual' string.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: