原创 white學習7(官方網站的內容)

ControlType to UIItem Mapping for Primary UIItems UIA ControlType White's UIItem Additional Info List ListBox

原创 white學習9(官方網站的內容)

Custom UI ItemFundamentally all UIItems are either elementary (Label, e.g. having no other item in it) or composed of

原创 white學習15(官方網站的內容)

Working with source Checkout Source CodeThe source code of white is not hosted on Codeplex since 0.18 onwards. Its av

原创 white學習5(官方網站的內容)

Checkout ControlTypeToUIItemMapping in order to find the mapping between white types and UI Automation types.List ViewI

原创 white學習6(官方網站的內容)

A menu bar is part of a window, while a popup menu can be shown on a window. Other than this difference, the two types 

原创 white學習4(官方網站的內容)

UIItem IdentificationManaged UI applications have a mechanism for identifying controls by specifying them names. These 

原创 white學習8(官方網站的內容)

Wait handling White strives to eliminate any need whatsoever for doing Thread.Sleep and retry in your test programs. S

原创 white學習13(官方網站的內容),介紹White.NUnit

White.NUnitThis dll can be used for doing verification in automated tests.Verify/AssertBoth of these perform assertions

原创 white學習10(官方網站的內容)

Simple way for automate silverlight applications.You would need to add reference to white.webbrowser.dll along with whi

原创 如何處理上載/下載文件窗口

如何處理上載/下載文件窗口 Selenium 使用 JavaScript 來模擬操作。因此,它不支持諸如上載窗口、下載窗口或身份認證窗口之類的瀏覽器元素。對於非主要窗口,配置瀏覽器跳過彈出窗口。 圖 1. 安全信息窗口 跳過圖1 中安全信

原创 如何處理彈出窗口

一般來說,操作都是在由 Selenium 啓動的主窗口中執行。如果您想在一個由 window.open 函數生成的新窗口中執行操作,那麼將焦點更換到新窗口。在彈出窗口中執行操作之後,焦點返回到主窗口。處理彈出窗口的過程定義在清單 1中。

原创 如何高效地認識不帶 ID 屬性的 web 元素

使用一個有含義的 ID 或名稱是一種高效且方便的定位元素的方式。它也可以改善測試用例的可讀性。但是爲了每個元素具有一個有含義的、惟一的 ID(尤其是動態元素),Selenium 提供多種策略來認識元素,比如說 Xpath、DOM 和 CS

原创 white學習16(官方網站的內容)

該部分學習了功能測試的具體使用,由於內容和代碼較多,所以就沒有整理,學習網址是http://white.codeplex.com/wikipage?title=Functional%20Testing

原创 white學習11(官方網站的內容)

Introduction UIAutomation and White Core provides automation support for most of the actions and properties. There are

原创 white學習14(官方網站的內容)

Third Party Controls White provides support for all the controls which comes with standard .NET libraries. This suppo