Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.OpenTextFile(".\RunList.txt", ForReading, True)
Do While MyFile.AtEndOfStream <> True
TestName = MyFile.ReadLine
qtApp.Open TestName, True
Set qtTest = qtApp.Test
qtTest.Settings.Run.OnError = "Dialog"
Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions")
qtResultsOpt.ResultsLocation = TestName &"\AutoRes"
Set fso = Nothing
Set qtResultsOpt = Nothing
Set qtTest = Nothing
Set qtApp = Nothing
Set WshShell = Nothing作者: heng612 时间: 2010-12-20 17:40
顶期待版主更多的BUG