Request object usage in Unit Test cases in ASp.Net

Discussion in '.NET' started by sripathi, Dec 31, 2009.

  1. sripathi

    sripathi

    Joined:
    Dec 31, 2009
    Messages:
    4
    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
    sripathi, Dec 31, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charlie
    Replies:
    1
    Views:
    356
    Lauwie
    Aug 22, 2003
  2. listrecv@gmail.com
    Replies:
    9
    Views:
    119
    Eric Hodel
    Nov 15, 2005
  3. David Mitchell
    Replies:
    10
    Views:
    244
  4. timr
    Replies:
    2
    Views:
    152
  5. jitendra gupta
    Replies:
    0
    Views:
    86
    jitendra gupta
    Mar 8, 2013
Loading...

Share This Page