Getting error on Validation rule at run time.

Sangeeta

Getting error on Validation rule at run time.

by Sangeeta » Wed, 10 Aug 2011 08:44:17

Hello Everybody,

I am very new to the Visual Studio Team System for testers. Currently, I am working with Web Test. Still trying to figure out various things.

I am working with the 'Validation rule' which has been added to the http link. In the 'Form Post Parameters' of this link the field name 'IX_BOX_NUMBER' is equal to '3'.

However, if i add a validation rule for the field name 'IX_BOX_NUMBER', whose expected value is supposed to be '3', i get run time error.

I can't understand why I am getting this error.

In the 'Test Results' under the Error Message i get that '1 primary requests and 0 dependant requests failed'. In the details of this error the 'Result' description displays that "Form field 'IX_BOX_NUMBER' was not found" and yet I can see this field under the 'Form Post Parameters'.

Does any body know what is going on

Thanks for your help in advance.




guy kolbi

Getting error on Validation rule at run time.

by guy kolbi » Fri, 12 Aug 2011 09:45:18

Hi,

Validation rules will search the response for the given text. You can control if you want the text to appear in the response or not.



Rick Potts - MSF

Getting error on Validation rule at run time.

by Rick Potts - MSF » Sun, 14 Aug 2011 10:46:19

Open the detailed view of the result from the "Test Results" window. This will display the result in the Web test result viewer. You will see the failed request in the top pane. Select it. Then choose the "Response" tab in the bottom pane. Is the form field contained in the response for this request

Thanks,
Rick