当前位置:编程学习 > C#/ASP.NET >>

如何用C#写自动测试脚本

就是用一段代码打开浏览器,然后输入网址(如:百度)最后在文本框写入内容点击“百度一下”。
全程都是系统自己完成。 自动测试 c# --------------------编程问答-------------------- 方法1:C#+Selenium Webdriver(参见下面具体配置方法)
http://www.joecolantonio.com/2012/07/31/getting-started-using-selenium-2-0-webdriver-for-ie-in-visual-studio-c/

方法2:UIA 
 百度UIA --------------------编程问答-------------------- http://channel9.msdn.com/Series/Visual-Studio-2012-Premium-and-Ultimate-Overview/Visual-Studio-Ultimate-2012-Easily-testing-user-interfaces-with-Coded-UI-tests --------------------编程问答-------------------- http://msdn.microsoft.com/en-us/library/dd286726.aspx
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,