I have a problem when running test which derives from WebTest class.
The test fails and in the test results (from .webtestresult file) there is no information about request and why the test failed.
All the tabs (see image below) - Web Browser, Request, Response, Context and Details - are empty.
Do you know what could be the reason?
Edit:
My test looks similarly to this:
namespace TestProject
{
public class MyWebTest : WebTest
{
public override IEnumerator<WebTestRequest> GetRequestEnumerator()
{
var req = new WebTestRequest("http://someexample/");
yield return req;
}
}
}
I've included above test in the ordered test and I'm running this ordered test in the Test Explorer window in VS (I'm using VS 2012).