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/
??????
???·???
??????????????????
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