开发者

Auto-web test : ExpectedResponseUrl error

While running my auto-web test, I received this message :

Response URL Validation The value of the ExpectedResponseUrl properity 'http://localhost:4800/FirstPage.aspx' isn't equal to the effective response URL 'http://localhost:4800/开发者_如何学编程SecondPage.aspx'. The QueryString parameters have been ignored.

Note: for the redirection, I am using:

Response.Redirect(Url2, false);

event while changing the parameter with true, I receive the same message.


I found the solution, and I didn't understand why! but it is Oky :

The solution is to use Server.Transfere() instead of Response.Redirect()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜