NUnit Test Case Not Working with Asp Page
-
Hi friends, i have created test case for checking the visibility and enable/disable functionality in a form.This works fine with the asp.net pages and controls my current project is with asp and the controls are html controls so the id attribute is missing. whenever i run the test it says NUnit.Extensions.Asp.WebAssertionException : couldn't find web form's 'id' attribute so can anyone tell me how to check the above mentioned functionality for html controls. Thanks In Advance, Praveen
-
Hi friends, i have created test case for checking the visibility and enable/disable functionality in a form.This works fine with the asp.net pages and controls my current project is with asp and the controls are html controls so the id attribute is missing. whenever i run the test it says NUnit.Extensions.Asp.WebAssertionException : couldn't find web form's 'id' attribute so can anyone tell me how to check the above mentioned functionality for html controls. Thanks In Advance, Praveen
Add an id to the controls ? Or if it's using server controls, you're out of luck.
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Hi friends, i have created test case for checking the visibility and enable/disable functionality in a form.This works fine with the asp.net pages and controls my current project is with asp and the controls are html controls so the id attribute is missing. whenever i run the test it says NUnit.Extensions.Asp.WebAssertionException : couldn't find web form's 'id' attribute so can anyone tell me how to check the above mentioned functionality for html controls. Thanks In Advance, Praveen
Classical ASP ? I don't think NUnit can be used to test it.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions