AssertContains Method
Raise an error if the text does not contain the value.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim value As String
Dim input As String
Dim failmessage As String

Assert.Contains(value, input, failmessage)

Parameters

value
Type: SystemString
input
Type: SystemString
failmessage (Optional)
Type: SystemString
See Also