Hello, this is an issue I've come across while trying to use the regexp
option for the selenium recorder. In my simple test suite, I attempt to
use verifyText to locate a certain expression.
The format is as following:
|verifyText|document.documentElement|regexp:/SomeSubString/|
The error message I get at the end is : "(The contents of
document.documentElement)' did not match 'regexp:/SomeSubString/'. I
think that verifyText is matching the whole regexp:... line against the
document, instead of the 'SomeSubString'.
I don't knwo what I am doing wrong, if anyone has any ideas fell free to
answer, or just point out my horrible mistake(s).
Thanks a bunch,
Edin
P.S. I've also included the actual error message for when I ran this
test with substring Awesom.
Actual value 'Logged in as admin | Server: intern4 My Account | Logout
PureMessage server group . . .(the whole document is listed this way) . .
X-Header and deliver messages Awesome Test add main rule' did not match
'regexp:/Awesom/'
_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel