????QTP???Mercury QuickTest Professional???????????????????????????????????????????????????????????????????????????????????????????????????Щ??????????????????

???????????????????????????????????????????????????????????????????????????????????????棬??????Щ????????????????????????????????????????????????????????м??????á??????????????Щ??????????????????????????????

???????????????Mercury QuickTest Professional 8.2?н???????÷?????

????QTP?е?Action

????QTP?н?????????С?????Action??????????????????????????????????Action?С?????????????????????Action?????????????????Action?У?????????Action?????и??????y??????黯??

????QTP?????????Action??????

????1??New Action????????Action???????????????????????

????2?? Split Action???????Aciton????????Action??

????3?? Copy of Action?????????Action?????????????????????Action????????????????κ????????????????????

????4?? Call to Action?????????????е????????????????????????????????????????Aciton?????Action?????????????????????????Reusable???????????Action???????????????????????????Action????????????????????

??????????????

????Call to Action??QTP???y??????????????????????????????????y?????????

???????????????B/S????????????????ù????

?????????????????????D?????D???????

???????е????????????????????????????????飬?????????????????????????????????????????????????????????????????????????????????Action????????á??????????????????????????????????????????????????????????顣

????????????????????????????????????????????????????????????????????????????????????????????????????????飬???????????????????Call to Action??????????????????????????????ж?????????

???????崠?????£?

????????1????????????????????

???????login_out??????????Record and Run Setting????У????IE???????????????????????????OK????????QTP???????????????????????????????????????????????????????????????QTP?????????????

????????2?????Split Action?????login_out????е?Action????login??logout????Action??

????login????????????????logout??????????????????????豾??????????????????QTP????????

????????3????login??logout?趨??????á?

??????????Action??Action Properties????????Reusable action??????OK??????Action???????????????????????

????????4??????????????

???????????1???process??????????????????????????????????????????????????1??????е?Record????????????????????????????????Stop???????????????Action?????processing??

??????????process??????????Action???processing?????????????????????????????????????δ?????????????????????????????????У?????????????????????????????С?

????????5??????login??logout??????process?????

??????process??????????????Insert?DCall to Existing Action?????Select Action????????login_out????????login?????OK????Action?????á??????????????logout?????????????Action??????login?Dprocessing?Dlogout??

??????????????????????????process??????е????

????С??

???????????????????????????????棬?????????????????????????????????????????????????????????????????????????????

????????????????????????Action?е?????????????Action????????????????????????Reusable action???????????????У?????????ЩReusable action??????????????????????????????????????????????????????????н??и?????????????????????????????????????????