Click or drag to resize

XPathValidationAssertion Class

Checks if value described by an XPath is expected.
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.Automation.Assertions
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
[ImageSourceAttribute(ImageSource = "/Images/Icons/xpath.png")]
public class XPathValidationAssertion : AbstractValueCompareAssertion

The XPathValidationAssertion type exposes the following members.

Constructors
  NameDescription
Public methodXPathValidationAssertion
Initializes a new instance of the XPathValidationAssertion class
Top
Properties
  NameDescription
Public propertyExpectedResult
Gets or sets the Expected Result.
(Inherited from AbstractValueCompareAssertion.)
Public propertyId
Gets or sets the identifier of the assertion
(Inherited from AbstractAssertion.)
Public propertyInformation
Gets or sets the information, error message related to the assertion.
(Inherited from AbstractAssertion.)
Public propertyInformationString
Gets the information in it's String representation.
(Inherited from AbstractAssertion.)
Public propertyIsCaseSensitive
Gets or sets a value indicating whether the result matching is case sensitive.
(Inherited from AbstractValueCompareAssertion.)
Public propertyIsDisabled
Gets or sets whether the current test item is disabled.
(Inherited from AbstractAssertion.)
Public propertyMessagePart
Gets or sets in which part the assertion will work on.
(Inherited from AbstractValueCompareAssertion.)
Public propertyName
Gets or sets the name of the assertion
(Inherited from AbstractAssertion.)
Public propertyResult
Gets the result which compared to Expected Result
(Inherited from AbstractValueCompareAssertion.)
Public propertyStatus
Gets or sets the Status of the current Assertion.
(Inherited from AbstractAssertion.)
Public propertyUseRegularExpression
Gets or sets a value indicating whether to use Regular Expression for result comparing
(Inherited from AbstractValueCompareAssertion.)
Public propertyXPathExpression
Gets or sets the XPath Expression to match the given Request or Response
Top
Methods
  NameDescription
Public methodAssert
Asserts the specified test step. The assertion result is stored in the Status property.
(Inherited from AbstractAssertion.)
Public methodClone
Clones this instance.
(Inherited from AbstractAssertion.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGenerateName
Generates the name of the Assertion.
(Overrides AbstractAssertionGenerateName.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInternalAssert
Asserts the specified test step.
(Overrides AbstractAssertionInternalAssert(TestStepBase).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Notifies the property changed.
(Inherited from AbstractAssertion.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when some property values has changed.
(Inherited from AbstractAssertion.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also