????????????????????????SilkTest ????????????????????????д???????????????????????е?CalWithFunction.t ??????????£??????????????????1+2= ??????????????????????????????

[-] testcase CalWithFunction()
[ ] ??????.SetActive()   //2
[ ] ??????.C.Click ()   //3
[ ] String sResultValue = Cal1Plus2()
[ ] Verify(val(sResultValue)?? 3?? “Expect: 3?? actually it is {sResultValue}”)
[-] String Cal1Plus2()
[ ] ??????.N1.Click ()
[ ] ??????.Plus.Click ()
[ ] ??????.N2.Click ()
[ ] ??????.Equal.Click ()
[ ] String sResultValue = ??????.CalResult.GetText()
[ ] return sResultValue

?????????????????£?????????2/3 ????????????????????????????????????????????£????????????????????????????????????testcase ??а?C ???????????2????????????????????????в??????????????????????????????????????????????????????2/3 ??testcase ???棬??????????????????????????????appstate ??????????????????????case ???е??????????????????????????????appstate ??????????????????????????ò??????????????????????????????????????????????????????????????????????????????????????????????????????????????????Щ??????????????????????appstate ????????testcase ??????????????????????????????????Ч???????????????????????????????appstate ??????????????????CalWithFunction.t ?????????£?

[-] testcase CalWithFunction () appstate PrepareCal //1
[ ] String sResultValue = Cal1Plus2()
[ ] Verify(val(sResultValue)?? 3?? “Expect: 3?? actually it is {sResultValue}”)
[-] String Cal1Plus2()
[ ] ??????.N1.Click ()
[ ] ??????.Plus.Click ()
[ ] ??????.N2.Click ()
[ ] ??????.Equal.Click ()
[ ] String sResultValue = ??????.CalResult.GetText()
[ ] return sResultValue
[-] appstate PrepareCal() basedon DefaultBaseState //2
[ ] ??????.SetActive() //3
[ ] ??????.C.Click () //4

?????????????£???1 ?????PrepareCal ?testcase ????????????????????testcase ??????????????PrepareCal ??δ???????2 ??????PrepareCal ?????appstate ???????????DefaultBaseState ??DefaultBaseState ??SilkTest ??????appstate ?????appstate ???????????testcase ?????appstate ???????????????????????????????case ?????SilkTest ??????testcase ????????????????DefaultBaseState ???????????????????PrepareCal ??????????String sResultValue = Cal1Plus2() ??С?

??????????????£?????Ч????Ρ?