Hi, We've web application developed using MVC2. I am recording webtests for all views in our web app. I'm using VS2008 test edition installed on separate machine for these webtests. My problem is - my recorded webtests fail for a view. THis particular view contains 2 upload controls. Common errors are - 1. Request failed: Empty path name is not legal. 2. Request failed: Context parameter '$HIDDEN1.EParamList[0].EParID' not found in test context
One thing I want to mention here is that we have used JSon calls to invoke controller methods. We've done this to avoid postbacks. But we have not used Json calls for upload controls. So on upload call recorded in webtest, I can see all other parameters with empty value passed to method. Generally all our views contain tabs e.g. view1(view1.aspx) contains tabs represented by user controls(.ascx). Telrik's tabstrip is used to represent tabs. For a json call, only requierd parameters for method are sent and they can be seen in webtest also. But whenever there is any post back call (like upload), webtest shows all parameters in this particular call.
what should i do to avoid these errors.
TIA, kaps