I'm trying to figure out a way to use an HTML Validator tool from within a Webtest test to check HTML and check compliance with W3C Web Accessibility Guidelines.
I currently run through a bunch of URLs and then execute the same test cases on each response using something like: <webtest name="Check all of the accessible URLs..." > &config; &login_sa; &doMyJSP; &logout; ... </webtest> And doMyJSP.xml is simply: <invoke url="/my.jsp" description="Get URL: /my.jsp"/> &doBasicCheckNoErrorNoLogin; What I would like to do after the &doBasicCheckNoErrorNoLogin; step is add a call to a third party HTML validator. This tool currently supports a command line option that looks like: HTMLValidate -file fileToTest.html -otherOptions which is pretty simple... except I don't know where (or if) the current response output might be located. Is the response immediately written to a file for use like this? Or only at the conclusion of the WebTest run? Also, the tool is java based, so their might be a class file that I can use (asking the tool developer about this). If so, can Webtest (or Ant) be extended to use invoke a class to parse the response string/file? This approach might help me associate poorly formatted response with a specific web test... but I'm alternatively looking at ways to run the validator on the files in the Webtest Results directory after Webtest has completed... just in case the approach described above is not feasible. I'm using the 3.0 release of Webtest software. Thanks for any help you might have. Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.

