testing web app that require a login
Brought to you by:
jlittle82
Hi
I am trying to use nunitasp to test a web
application. What I am tryin to do is go to
http://app/default.aspx and login. After clicking the
submit button it should take me to http://app/b.aspx
page. So for me to ensure that after clicking submit
button I am in the correct page. I did a
console.writeline(Browser.currenturl.ToString()); to
show me what's the current url. and all i get is the
http://app/default.aspx page. didn't seems like I can
get pass it. I had try to my login code in the setup
method but still didn't work... Anyone one know how I
can fix this?
Thanks
Athena
Logged In: YES
user_id=1489620
I am having the same problem. I've tried grabbing the
ASP.NET_SessionId cookie after successfully logging in,
setting it as a private class variable, then adding it to
the Browser.Cookies collection at the start of the next
test, and it just does not work. I think something is wrong
with the cookie implementation but I can't get the source to
build, so I can't even bother trying to figure it out myself.