我想做一个测试程序,模拟用户的输入和点击等动作。我把控件的id和value作为地址栏的参数,在程序中用request方法请求该url,将response的内容转换成stream保存。现在的问题是,当aspx页面上有多个button时要指定button的id,我用
?buttonID=submit&...后,页面并没有提交,在asp页面是可以的,在aspx中怎么实现该功能呢?
see
NUnitAsp ASP.NET unit testing
http://nunitasp.sourceforge.net/
Writing Automated Browser Tests Using NUnit and IE
http://216.87.26.21/aspAutomatingNUnitAndIE.asp