Automated Website testing
Looking for some answers to Borland Developer Language questions using TMart.
I need to create a script to error on the word “BAD” when the site should always say “GOOD”
I validate the word “GOOD”, but how do I get it to error when it changes to “BAD”?
Re: Automated Website testing
If it's a website application, you could just create a variable HtmlText BadText with the appropriate tag.
In your function do a check (if BadText.Exists()) - if BadText appears, print out an error (using LogError()).