SilkTest??????5-????appstate
???????????? ???????[ 2013/4/22 13:58:22 ] ????????
????????????????е?testcase ?????????з??????????????testcase ??????覴???????????????????к??????????????????ж???????????????????????????????????????????????appstate ??
????Appstate ???????????testcase ?????????????????????SetBaseState()?????????????????????????????????????????????????????DefaultBaseState ????????????????????CalWithFunction ?????????????????????????????????????????????н???????????????????????????????£?
????[-] testcase CalWithFunction () appstate PrepareCal
????[ ] 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 MyBaseState //1
????[ ] ??????.Invoke()
????[ ] ??????.C.Click ()
????[-] appstate MyBaseState () //2
????[-] if( ??????.Exists())
????[ ] ??????.Close() [-] else
????[ ] ??????.Invoke() // to call calculator?? ???????????bug????л????George Yu???
???????????????е??????PrepareCal ???????MyBaseState????MyBaseState ?????????????????????????????????????????£????????????????????
??????????????http://www.zengyuetian.com/
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44