Click or drag to resize

ContainsAssertionInternalContains Method

Internals method to find if the searchPattern is found in the given context. NotContainsAssertion use also this method but reverse the test result.

Namespace:  Hummingbird.TestFramework.Automation.Assertions
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
protected bool InternalContains(
	TestStepBase RelatedTestStep,
	string searchPattern
)

Parameters

RelatedTestStep
Type: Hummingbird.TestFramework.AutomationTestStepBase
The related test step.
searchPattern
Type: SystemString
The search pattern.

Return Value

Type: Boolean
Bool value indicates if the searchPattern appears in the given object.
See Also