11 2011 档案
WPF1: Set and Get value for a control in a form which run in another thread
摘要:In WinForm, when we trying to set a value for Text property of a TextBox control that run in another thread, we can use code like this:inttotalFileNumbers=ReturnTotalFiles();delegate_SetBarMaximumdel_SetMax=newdelegate_SetBarMaximum(SetProgressBar_Maximum);Invoke(del_SetMax,newObject[]{totalFileNum.
阅读全文
Auto Test: Test Case Structure
摘要:最近在使用的一些Test Case 的逻辑结构:接口:interfaceITestCase{stringCaseID{get;set;}stringCaseTitle{get;set;}boolPassed{get;set;}voidExcuteTC(stringxmlFilePath,stringinfFilePath);boolVerifyPass(stringxmlFilePath,stringinfFilePath);}Sample of Test Case:classTestCase_1:ITestCase{publicstringCaseID{get{return"1&a
阅读全文
浙公网安备 33010602011771号