Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Request object usage in Unit Test cases in ASp.Net

Reply
Thread Tools

Request object usage in Unit Test cases in ASp.Net

 
 
sripathi sripathi is offline
Junior Member
Join Date: Dec 2009
Posts: 4
 
      12-31-2009
Hi,

Iam working on building some unit test cases for a application in ASP.Net technology. The application code uses "Page.Request" object and if we invoke the same code using a test case it says the Request doesnot exists in the current context.

Does anyone have any idea of how to create a new page request from the unit test case?

Thanks,
Sripathi
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit test cases for Object intraction using mox/unittest jitendra gupta Python 0 03-08-2013 12:36 PM
contradicting unit test regarding blocks pass, bug in unit/test? timr Ruby 2 11-20-2010 06:30 AM
Is it possible to dynamically extend Test::Unit test cases? David Mitchell Ruby 10 07-16-2008 07:52 PM
struts standard unit test cases Charlie Java 1 08-22-2003 11:13 AM
test test test test test test test Computer Support 2 07-02-2003 06:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57