Raise an error if the text does not contain the value.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim 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