Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.Launch ' Start QuickTest
qtApp.WindowState = "Maximized" ' Maximize the QuickTest window
。。
Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object
qtResultsOpt.ResultsLocation = "C:\Tests\Test1\Res1" ' Set the results location
qtTest.Run qtResultsOpt ' Run the test
。。。
我试了在qtTest.Run qtResultsOpt 后写qtApp.WindowState = "Maximized" ,也不行,大家是用什么办法?