QTP??????????
???????????? ???????[ 2013/10/29 14:50:28 ] ????????
????QTP?????????????????????Test Object?????TO?????????Runtime Object?????RO????
??????????????????????????????????????
???????????????????????????TO???????????????????RO??????????????????
????QTP?????????????????????????????????????????????????????????????
????????????е????QTP????????????????????????????????????????????????????????????????????????????????????????????????????????????????в??????
??????????TO????????/??д???????????????????????????????д???????????????????й????н??ж?????????????????
??????TO??RO????????????У?
????GetTOProperty():??ò???????????????
????GetTOProperties():??ò????????????????
????SetTOProperty():???ò???????????????
????GetROProperty():???????????????????
?????????TO????壬????????????SetTOProperty()????TO???????????RO
?????????и????????????????к??????????????????????????Check????????????????????
?????????????????????Check????????????????????Edit????????????
????????????????????м?飬??????????Check?????
????????Check?????????????????????????????????????????????????????????????鷳??
??????????????e??????????????????????????????????? label=OK?? index=0 ????????????????????????
????buttonNum = CInt(JavaWindow("Test".JavaEdit("Record Num".GetROProperty("value")
????For buttonIndex = 0 to buttonNum - 1
????JavaWindow("Test".JavaButton("Check".SetTOProperty("index"?? buttonIndex)
????JavaWindow("Test".JavaButton("Check".Click
????Next
???????????????New??Modify??Delete??Check??ü?????????????????????????
??????????????????????????????AnyButton??label???????????????????????????????в???
????JavaWindow("Test".JavaButton("AnyButton".SetTOProperty("label"?? "New"
????JavaWindow("Test".JavaButton("AnyButton".Click
????JavaWindow("Test".JavaButton("AnyButton".SetTOProperty("label"?? "Modify"
????JavaWindow("Test".JavaButton("AnyButton".Click
????JavaWindow("Test".JavaButton("AnyButton".SetTOProperty("label"?? "Delete"
????JavaWindow("Test".JavaButton("AnyButton".Click
????JavaWindow("Test".JavaButton("AnyButton".SetTOProperty("label"?? "Check"
????JavaWindow("Test".JavaButton("AnyButton".Click
????????QTP???????????????????????????????????????????壬????????????????
??????
???·???
??????????????????
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