2014年3月19日

如何将webbrowser控件的Cookie倒入CookieContainer供WebRequest使用

摘要: 先建一个"CookieContainer"把WebBrowser中的Cookie保存在里面//在WebBrowser中登录 cookie保存在 WebBrowser.Document.Cookie中CookieContainermyCookieContainer=newCookieContainer();//String的Cookie 要转成 Cookie型的 并放入CookieContainer中stringcookieStr=webBrowser1.Document.Cookie;string[]cookstr=cookieStr.Split(';'); 阅读全文

posted @ 2014-03-19 20:54 HOT SUMMER 阅读(2401) 评论(0) 推荐(0)

网页webbrowser

摘要: http://www.codeproject.com/Articles/50544/Using-the-WebBrowser-Control-in-ASP-NET/ 阅读全文

posted @ 2014-03-19 20:53 HOT SUMMER 阅读(157) 评论(0) 推荐(0)

初识WatiN

摘要: WatiN —— Web Application Testing In .Net为什么会有WatiN?给用户提供一个.Net平台下,将Web测试自动化的便捷途径。如何通过WatiN来进行自动化测试的呢?摆事实,讲道理,乃严谨的科学态度,到底WatiN下的自动化测试如何便捷呢?代码[Test]publ... 阅读全文

posted @ 2014-03-19 00:45 HOT SUMMER 阅读(296) 评论(0) 推荐(0)

导航