TestComplete Web Testing Quick Tip: Checking for Mailto Links
Using TestComplete, you can get access to web page elements and check different element attributes. For example, you can check whether the page contains some mailto links (the A elements with the mailto protocol specified, as mailto:firstname.lastname@example.org). This check will guarantee that all people who visit your web page are able to contact you or your company (for more information on this, see http://www.xs4all.nl/~sbpoley/webmatters/checklist.html, the Other checks section).
The following code demonstrates how you can check for mailto to links on your web page with TestComplete: