Robin Becker wrote:

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 ... Am I doing something stupid or are comments ignored?

Comments are ignored. assertTextPresent matches against the HTML text-context, not the HTML source.

--
cheers, MikeW                            http://www.dogbiscuit.org/mdub/

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

Reply via email to