How to ignore errors in Visual Studio web tests

I am using Visual Studio to record some web tests. I would like the test to pass (obviously), but it fails because of something out of our control - so I would like to suppress this failure.

One of our pages uses a third-party API, for example, let’s choose facebook. (This is not facebook, but for the sake of argument it is). Let's say that we use the facebook open-graph api api to do something, and one of their 1px gif files was not found because one of their developers made a typo in the file name. They do not know that this is not found, and the API works fine with a request error. I want to abort the error in the web test when loading mysite.com/index.aspx, because this is a minor error.

Thank!

+3
source share
3 answers

Just turn off the proposition called “Dependent Query Analysis” for this particular query in your web test. Do not forget to specify the name of the property, I received the French version of 2010.

+2
source

In English, VS 2010 is Parsing-Dependent Queries

+1
source

" " , . , .

0

Source: https://habr.com/ru/post/1766287/


All Articles