TestComplete Web Testing Quick Tip: Checking for Mailto Links
Test and Monitor | Posted March 24, 2006

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:johnsmith@johnsmithcompany.com). 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:


By submitting this form, you agree to our
Terms of Use and Privacy Policy

Thanks for Subscribing

Keep an eye on your inbox for more great content.

Continue Reading

Add a little SmartBear to your life

Stay on top of your Software game with the latest developer tips, best practices and news, delivered straight to your inbox