[唐胡璐]QTP技巧 - 利用脚本从excel导入Data Table
xls_Sheet_Index = 1 DataTable_Sheet_Index = 1 Set qtapp=CreateObject("quicktest.application") qtapp.Launch qtapp.Visible=True qtapp.Open "d:\iquicktest" qtapp.Test.DataTable.ImportSheet "d:\1.xls",1,1 Set qtapp=Nothing