利用Visual Studio 2005開發工具時,如果我們有很大量的資料進行處理,譬如3萬多條資料寫入Excel,對資料庫進行頻繁的讀出寫入,有可能會出現一下錯誤資訊: "ContextSwitchDeadlock was detected" error message popping up when debugging. The CLR has been unable to transition from COM context 0x197060 to COM context
並不是每個VSTS的Edition都有Coded UI Test功能,由於我們不需要考慮Budget問題,直接用的Ultimate Edition,現在回過頭來,在微軟的網站上找到一篇各個版本功能比較的連結:ref: http://www.microsoft.com/visualstudio/en-us/products#compareTable 安裝好Ultimate版本以後,VSTS的程式組裡面會比以前的VS版本多2個選項:Team Foundation Server
Frequent communication Respect for the worth of every person Truth in every communication Transparency of all data, actions and decisions Commitment to the team and to the team’s goalsTo foster these types of behavior, agile management must provide
If your project uses resources on SharePoint Products and Reporting Services, you must add users who require those resources to groups that have appropriate permissions to those programs. To grant users full access to all functionality for your
在前面一篇“編寫第一個測試指令碼”的文章中,我們發現得到控制項的代碼其實大同小異,並且得到控制項後,其操作基本也差不多,都是鍵盤、滑鼠再去控制。仔細研究後,其實我們可以封裝自己的測試基類,以一種更物件導向的方式來控制控制項。 以封裝HtmlHyperink為例:namespace MyTestFramework.ControlBase.{ using Microsoft.VisualStudio.TestTools.UITesting; using System;
不是太清楚為什麼網頁中有hidden controls,而這給測試帶了一些小麻煩。BrowserWindow ie = new BrowserWindow();ie.SearchProperties.Add("ClassName", "IEFrame");HtmlHyperlink link = new HtmlHyperlink(ie);link.SearchProperties.Add("InnerText", "InnerText