visual studio .net act:
Got a test script where I want ACT to log off a user I just logged in via forms authentication. On one of my forms I have a button called btnLogout that, when pressed, logs off the user. I recorded myself logging on and logging off, and from the generated script I see: oRequest.Body = "__VIEWSTATE=dDw5NjU1MTU1Ozs%2B9uu4k2OBFxBARxlvF8%2" oRequest.Body = oRequest.Body + "F6u0Jmt8I%3D&btnLogout=Logout" I assume that this is the correct Sub and the relevant code from the Sub--that point at which the button is pressed and a response is sent back to the server. Playing this back doesn't work. The following variations also do not work: oRequest.Body = "__VIEWSTATE=&btnLogout=Logout" oRequest.Body = "__VIEWSTATE=btnLogout=Logout" oRequest.Body = "&btnLogout=Logout" oRequest.Body = "btnLogout=Logout" Any hints on how to get that button to fire? TIA.
Don't see what you're looking for? Try a search.
|