how to test my web application on server
<p>i have to test what is happening in the code on the server:</p>

<pre><code>if (impersonateValidUser(userName, domain, password)) 
        {

        }
        else
        {

        }
</code></pre>

<p>like where is the code going after checking the condition</p>

<p>Should i use a messagebox or some other return way???</p>

<p>I am not sure how to do it </p>

<p>any help... thanks</p>
