WinRunner?????????
???????????? ???????[ 2015/4/29 16:25:59 ] ????????WinRunner ??? ??????
????????
????????????
????1?????????????????????罭?????BOSS ???????JXBOSS
????2?????????????????????????SALES??ACCOUNT??????й?????????????Share ??????
????3????????????????????/TestCase ??????????й??????????????Share ????
????4???????????????????????????????????????t??????????????
????5??GUI ???????????????????????????????
????6???????????????????????????????????????????????漲?validity
???????????????????
????JxBoss
????-Sales
????--ChangeSimCard
????--validity
????--CheckSimNoExistAnIdError
????--Share
????--Share
????-Aclearcase/" target="_blank" >ccount
??????????
??????????
??????????????????????
??????????????????????£?
????#???????????????
????#?????????????
????#?????????????YYYY/MM/DD
????#???????????????????
????#???????????????????????????????????е?????????????????????????
????#?ο??????????????????ο????й??????????
????#????????
????# ??????
????# ??????????YYYY/MM/DD
????# ???????????
??????????????????????????????????????????????????κ???????????????????????????
????????????
???????С?ι??????ü?????????????????WinRunner ????????????
?????磺
????# insert a record
????# Flight Reservation
????set_window ("Flight Reservation"?? 1);
????obj_mouse_click ("Button"?? 13?? 16?? LEFT);
????obj_type ("MSMaskWndClass"??"101002");
????list_select_item ("Fly From:"?? "London"); # Item Number 2;
????list_select_item ("Fly To:"?? "Paris"); # Item Number 3;
????obj_mouse_click ("FLIGHT"?? 56?? 22?? LEFT);
??????????????????????
????????????????
????????????????????ü??????????
????#?????
????#???????
????#??????/???????
?????????????????У????????????“??????/???????”???????????ò???????????????????????
???????????
????·?????
??????????????·?????????????·?????????????????“d:\”??“\”?μ??????????????“..\..\”?????
??????Script ?????????GUI
??????Script ??GUI ???????÷??????????Script ?????????????????????? GUI_load ??SCRIPT ?????????GUI????SCRIPT ????????
????if (GUI_load(".\login.gui")!=0)
????{
????pause ("Can't load login.gui");
????texit;
????}
??????SCRIPT ??????????
????GUI_close(".\login.gui");
???????GUI?????????е?·????????????·????
??????????
??????????????????????????????????????????????????????????????
???????????????????????????????????Report_msg ?????????????“???????:
????????????”????????WinRunner ??Check ???????????????????棬?????????
??????????
????if ( win_check_bitmap("Flight Reservations"?? "Img1"?? 1)!=E_OK)
????{
????report_msg("DateCheck:?·???????????????!");
????}
???????????????????????
????#????????DateCheck
????#???????л???
????#?????????2002/09/08
????#????????FLIGHTA ??????????????·??????????????
????#???????????FLIGHA ??????????New_Order ?????????κ?????????
????# ????FLIGHTA ??????У?????????FLIGHTA??EXE λ
????# ??E:\Program Files\Mercury
????Interactive\WinRunner\samples\flight\app\flight1a.exe
????#?ο????????
????#????????
????# ??????л???
????# ??????2002/09/09
????# ?????????????????λ?????????????ж??????????
????#load gui file
????#Flight Reservation
????if (GUI_load(".\DateCheck.gui")!=0)
????{
????report_msg ("DataCheck:Can't load .\DateCheck.gui");
????texit;
????}
????#Check windows exists ??if don't exist ??call login to open it.
????# Flight Reservation
????if (win_exists("Flight Reservation")!=E_OK){
????#pause ("Windows Flight Reservation don't exist");
????#texit;
????call "..\login\login"();
????}
????#input error month
????win_activate ("Flight Reservation");
????set_window ("Flight Reservation"?? 3);
????obj_mouse_drag ("Button_4"?? 17?? 6?? 17?? 7?? LEFT);
????obj_type ("MSMaskWndClass"??"301212");
????list_select_item ("Fly From:"?? "Denver"); # Item Number 0;
????#check message bitmap
????# Flight Reservations_1
????set_window ("Flight Reservations"?? 3);
????#2002/09/09 л???
????#if ( win_check_bitmap("Flight Reservations"?? "Img1"?? 1)!=E_OK)
????#static_check_info("Invalid month Entered.The month must be greater than 01 and less than
????12.(static)"??"enabled"??1);
????if (static_check_info("CheckMessage"??"label"??"Invalid month Entered.The month must be
????greater than 01 and less than 12.")!=E_OK)
????#2002/09/09 л?????????
????{
????report_msg("DateCheck:?·???????????????!");
????}
????button_press ("???");
????#close gui file
????GUI_close(".\DateCheck.gui");
??????
???·???
??????????????????
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