SilkTest??????4-appstate
???????????? ???????[ 2013/1/31 13:31:22 ] ????????
????????????????????????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() ??С?
??????????????£?????Ч????Ρ?
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11