white的配置使用

2022-03-16 04:20:29 字數 622 閱讀 8406

初次使用white來自動化測試10個9相加

1、新建visual c#->測試->單元測試專案

2、在資源檢視->引用,右鍵,新增引用,新增white的兩個.dll檔案

3、在工程中新增命名空間:

using microsoft.visualstudio.testtools.unittesting;

using system;

using system.text;

using teststack.white;

using teststack.white.automationelementsearch;

using teststack.white.factory;

using teststack.white.finder;

using teststack.white.inputdevices;

using teststack.white.uiitems;

using teststack.white.uiitems.finders;

using teststack.white.uiitems.windowitems;

using teststack.white.windowsapi;

4、源**

ehcache的配置使用

updatecheck 是否檢測更新,如果設定為true,它會到www.terracotta.org檢測是否有新的包 monitoring determines whether the cachemanager should automatically register the sampledcac...

proFTPd的使用配置

目的 安裝配置乙個proftpd,達到以下要求 1 不允許匿名訪問。2 開放乙個帳號,只有在upload目錄有上傳許可權,可以續傳,不能改名和刪除。www.proftpd.org dns反查 usereversedns off identlookups off 最大嘗試連線次數 maxloginat...

ImageLoader的配置使用

首先配置imageloader 初始imageloader suppresswarnings deprecation private void initimageloader catch ioexception e 設定記憶體快取的大小限制,預設是最大記憶體的1 8 builder.memoryca...