Last post Sep 12, 2011 11:45 PM by pavanlalit
Sep 12, 2011 11:45 PM|pavanlalit|LINK
I am trying to test my method by Autogenrating the Unit Test Cases in Visual Studio 2010 SP1. When I try to run my test case it is giving URL not found error. for SP site given a URL for Constructor.But when I create a console Application and run the same
code (Copy Pasted) in it its perfectly working.Now I am unable to zero down to a point which is causing SP Site to give error in my Test Method. DOes SPSite class have a limitation i nTest Cases..?
If not why this issue could be occuring...?
Notes:-I am running my code on Same Machine as SP 2010 is installed.
I am a System Admin ,Farm Admin and Data base Admin. Does SharePoint Object Model Doesn't work with Test Cases..?
Web application at
http://hydhtc130260:10162/sites/TestSite/Pages/default.aspx could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new
request URL mapping to the intended application.