How to test AJAX
-
Hi All, I am writing NUnit ASP automated tool for ASP.NET web application In which i have some controls (radio button) causing asynchronous postback i have written below code for checking one of the radio buttons RadioButtonTester rbtnCollPropAddressSame = new RadioButtonTester("ctl00_FormContentPlaceHolder_ContactInformation_rbYes"); rbtnCollPropAddressSame.Checked = true Now issue is while testing the application using Nunit ASP ScriptManager.IsInAsyncPostBack is showing false (when debug) causing error in the application. Note: this error is not happening when we checked radio button in browser (working fine while testing manually) Please let me know how to make asynchrous postback using Nunit ASP using any other extension. I knew AJAX and javascript is not supported by Nunit ASP. Is there any another tool to do the same. Please give me any tutorial url so that i can make use of it.
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog