????1·??????д??
???????????????????????????????WinRunner????????????????????С??????????????????е??????gui maps??text files??compiled modules??dll’s??????????????????????????
????????
??????????????????????K drive?е??????·??????д?????????棺???????????????????У?????????K drive?е???????????????п?????????????
??????????????
????reload("C:\WR_TESTS\Aclearcase/"target="_blank">cceptance_6\acceptance_functions");
??????????????
????reload(getvar("testname")&"\..acceptance_functions");
????2???????????????????????
??????????????
????for(counter=count-24;counter<count-1;counter++)
????{
????list_get_item("ListBox"??counter??item);
????str=str&item&" ";
????}
???????????????
????for(counter=count-24;counter<count-1;counter++)
????{
????list_get_item("ListBox"??counter??item);
????str=str&item&" ";
????}
????????????????
????for(counter=count-24;counter<count-1;counter++){
????list_get_item("ListBox"??counter??item);
????str=str&item&" ";
????}
????3????????????????????????д????????Щ???????????????仯?????????д?????????У????????DSN????????????????????????????????????????????????????????Щ???????????????????????б????????仯?????????????????ε????????????????????
???????????????
????set_window("SQL Server Login"??10);
????edit_set("Login ID:"??"sa");
????edit_type("Password:"??"password");
???????????????
????db_username="sa";
????db_password="password";
????set_window("SQL Server Login"??10);
????edit_set("Login ID:"??db_username);
????edit_type("Password:"??db_password);
????????????????
????invoke_application("C:\iAvenue\Windows\UAdmin.exe"??""??"c:\Power_db"??SW_SHOW);
????????????????
????install_dir="c:\iAvenue\Windows";
????invoke_application(install_dir&"\UAdmin.exe"??""??getvar("testname")&"\..Power_db"??SW_SHOW);
????4?????????????????????
????????????????????棬???????????????????????????????????????????????????????????????????????????????2????????????????????????????????????????????ж?????????????????????????У????????“Assign Date”????edit??
??????????????
????obj_get_text("Assign Date"??text);
??????????????
????edit_get_text("Assign Date"??text);
????5??????????wait???;?????????????????????????????????????
????wait(40);
??????????????
????statusbar_wait_info("Status Bar"??"value"??"Sites processed=20"??40);
????6?????report_msg???tl_step?????
???????????????????????????????????????е??????????????????????????в??????????????????????????????????tl_step?????????軹?????????
??????????????
????if(win_exists("Active Information Manager"??1)==0)
????{
????set_window("Active Information Manager"??1);
????obj_get_text("AfxWnd42"??text);
????my_gui_checkpoint(text??"AIM.log");
????}
????else
????report_msg("AIM failure!Window absent at startup");
??????????????
????if(win_exists("Active Information Manager"??1)==0)
????{
????set_window("Active Information Manager"??1);
????obj_get_text("AfxWnd42"??text);
????my_gui_checkpoint(text??"AIM.log");
????}
????else
????tl_step("AimReportRuns"??FAIL??"AIM window absent at startup");
????7??????????????????????????????????gui map?????
????8????????????????????#Please add comments
????