VS Team System 2008 (Orcas) has improved validation rules.
Test-level validation rules allow you to add the same rule to every request by simply clicking the Web test node and selecting Add Validation Rule. A dialog box opens select the validation rule, in the properties you can edit or add options and parameters. Click Ok and you’re done.
Reasons for using a test-level rule:
· Errors in the server application can cause incorrect flow causing the playback of the Web test to vary from the recorded sequence
· Validate content that must appear on every page
· Validate that all pages conform to a specific criterion
VS Team System 2008 (Orcas) has improved validation rules.
Listed below are new validation rules:
· Stop test on error
· Search request and response
· Add validation rule for title
· Redirect validation
· Provide test level validation rules
· Expected HTTP code
· Warning level for errors on dependents