Difference between validation and Extraction rule-Team Test

What is the difference between validation rule and extraction rule.Both seems to work the same way.In both validation rule and extraction rule we check for an attribute value and when we extract the value of an attribute using extraction rule the extracted value is not displayed in the test and seems to work the same way as validation rule.Please help

Thanks,

tester




Answer this question

Difference between validation and Extraction rule-Team Test

  • PLife_Jones

    Are you looking for the extracted value in the Context tab of the web test result viewer

    Josh



  • Erulu

    Hello,

    Validation rule is different from Extraction rule. Validation rule is use to verify that application is working properly by validating for eg a sting, in the HTTP response, against an expected result string and Extraction Rule are used to extract a piece of data from the HTTP response and use it in another page.

    for more information refer to below links

    Extraction rule:

    http://msdn2.microsoft.com/en-us/library/ms182545.aspx

    Validation rule

    http://msdn2.microsoft.com/en-us/library/ms182544.aspx

    Thanks,
    Anjana [MSFT]
    Microsoft Developer Support
    This posting is provided "AS IS" with no warranties, and confers no rights.


  • Difference between validation and Extraction rule-Team Test