Whilst trying to avoid assertTextPresent failures when coders change the exact wording I tried to use a glob: in the expected text. That didn't work and another reply explains why.

I then hit on the wheeze of putting a recognition string into my html as a comment ie

<!-- myhtmltemplate.prep $Id:$ $URL:$ -->

but my test for this failed

ie

assertTextPresent|myhtmltemplate.prep|

fails. Am I doing something stupid or are comments ignored?

--
Robin Becker

_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to