??????????????????SilkTest ??????????????????????????????????????????????????????????????????????????????????t????????????????????????д??SilkTest ??????4Test ?????????????????????????????????????????????????????????????????????OO ??????

????????????????????SilkTest ?????????????????????1 ????????????????е??????????????C ??????δ????????е???????????????????????Cal.t ?????????????£?

[-] winclass Calculator   //1
[ ] String sResult    //2
[-] Void ClearResult() //3
[ ] ??????.C.Click() //4
[-] void GetResult()    //5
[ ] sResult = ??????.CalResult.GetText() //6
[-] Void ClickNum1() //7
[ ] ??????.N1.Click() //8

[ ] window Calculator Cal //10

[-] testcase CalSetAndClear() //11
[ ] ??????.SetActive() //12
[ ] Cal.ClickNum1()   //13
[ ] Cal.GetResult()   //14
[ ] Print(Cal.sResult) //15
[ ] Cal.ClearResult() //16
[ ] Cal.GetResult() //17
[ ] Print(Cal.sResult) //18

???????д???????????£?

??????1???ù????winclass ?????????Calculator ????????????winclass ??????

??????2??????Calculator ???е????String ???????????sResult ??????????????????

??????3/4??????Calculator ?????????????ClearResult????????????void?????????????????????????????????C?????????????

??????5/6??????Calculator ?????????????GetResult????????????void???????????????????????????????????????????丳?????????GetResult

??????7/8??????Calculator ?????????????ClickNum1????????????void??????????????????????????????????????1

??????10??????????棬????????????????Cal????????????????????Calculator????????????window ??????

??????11????????testcase

??????12-18?????????????????????1????????????????????????????????????????λ??????????????????

?????????£????case ??????????У??????

????1.

????0.

??????????????http://www.zengyuetian.com/