mikeb
mikeb

Reputation: 11289

Selenium IDE wildcard in text expression for verifyNotText

I want to evaluate the Selenium command verifyNotText for //div[@id='adiv'] for text with a wildcard, such as Illegal Characters xyz.

I would like to specify Illegal.* or something to match on.

Upvotes: 2

Views: 1686

Answers (1)

mikeb
mikeb

Reputation: 11289

Turns out there are 3 ways to do it, the first 2 of which will do what I want:

  • Globbing: glob:Illegial*
  • Regular expression: regex:Illegial.*
  • Exact: exact:This**

http://www.seleniumhq.org/docs/02_selenium_ide.jsp

Upvotes: 2

Related Questions