' Open the test
qtApp.Open "C:\Tests\Test1", False ' Open a test named "Test1"
' Import data to the design-time Data Table and then add new data
qtApp.Test.DataTable.Import "C:\Data.xls" ' Import data from an external file
qtApp.Test.DataTable.ImportSheet "C:\Tables.xls", 1, "Action1" ' Import a single sheet
qtApp.Test.DataTable.GlobalSheet("Started") = Now ' Set test run starting time
qtApp.Test.DataTable.GlobalSheet("ParamCount") = 45 ' Set a parameter for the test using the Data Table作者: pldy 时间: 2006-4-21 16:45