AssertMatches Method
Raise an error if the text matches the pattern.

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

Assert.Matches(pattern, input, failmessage)

Parameters

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