??????????Winrunner TSL??????
???????????? ???????[ 2015/5/15 13:17:22 ] ??????????????????
????Winrunner Context Sensitive?????б?
????1??ActiveBar_combo_select_item(band_tool??item_name);?????????????????磺
????set_window("Form1"??1);
????ActiveBar_combo_select_item("Format;Font"??"Arial");
????In the following example??WinRunner selects the third item in the Format:Font tool.
????set_window("Form1"??1);
????ActiveBar_combo_select_item("Format;Font"??"#3");
????2??ActiveBar_dump(file_name);?洢??????????????????????????ID???
????file_name????????·???????磺
????set_window("Form1"??1);
????ActiveBar_dump("d:Bardump.txt");
????3??ActiveBar_select_menu(band_tool[??events_only]);????????????磺
????in the following example??WinRunner selects the Cut menu item in the Edit toolbar.
????set_window("Form1"??1);
????ActiveBar_select_menu("Edit;Cut"??TRUE);
????4??ActiveBar_select_tool(band_tool[??events_only]);????????????????磺
????set_window("Form1"??1);
????ActiveBar_select_tool("Format;Center"??TRUE);
????5??win_check_bitmap(window??bitmap??time[??x??y??width??height]);??????λ???
????6??obj_check_bitmap(object??bitmap??time[??x??y??width??height]);??????λ???
????7??button_check_info(button??property??property_value);??鰴???????
????8??button_check_state(button??state);??鵥??????????
????9??button_get_info(button??property??out_value);????????????
????10??button_get_state(button??out_state);???????????????
????11??button_press(button);??????
????12??button_set(button??state);???????????????
????13??button_wait_info(button??property??value??time);??????????????仯
????14??calendar_activate_date(calendar??date);??????????????
????15??db_check(checklist??expected_results_file[??max_rows[??parameter_array]]);?????????????????????????????
????16??db_connect(session_name??connection_string);????????????session??????odbc????
????17??db_disconnect(session_name);??????????session
????18??db_execute_query(session_name??SQL??record_number);???sql?????????
????19??db_get_field_value(session_name??row_index??column);??????????????????
????20??db_get_headers(session_name??header_count??header_content);?????????session???е????????е????????tab????
????21??db_get_last_error(session_name??error);?????????????session???????
????22??db_get_row(session_name??row_index??row_content);?????????????
????23??db_record_check(ChecklistFileName??Suclearcase/"target="_blank">ccessConditions??RecordNumber);Compares information that appears in the application under test during a test run with the current values in the corresponding record(s)in your database.
????24??db_write_records(session_name??output_file[??headers[??record_limit]]);?????????д???????????
????25??ddt_close(data_table_name);???????????
????26??ddt_close_all_tables();???????????
????27??ddt_export(data_table_namename1??data_table_namename2);??????????????????????????????
????28??ddt_get_current_row(data_table_name??out_row);?????????????????
????29??ddt_get_parameters(table??params_list??params_num);???????????????????????
????30??ddt_get_row_count(data_table_name??out_rows_count);?????????????
????31??ddt_is_parameter(data_table_name??parameter);?????????????????????????Ч
????32??ddt_next_row(data_table_name);?????????е?????е??????
????33??ddt_open(data_table_name[??mode]);??????????????????????
????34??ddt_report_row(data_table_name);???浱??е???????
????35??ddt_save(data_table_name);????????????
????36??ddt_set_row(data_table_name??row);??????????????
??????
???·???
??????????????????
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