1. AOM自动化模型方式Set qtp = CreateObject( "QuickTest.Application" )qtp.WindowState = "Minimized"Set qtp = Nothing2. 直接获取QTP窗口对象进行最小化Set qtpWindow = Window("title:=QuickTest.*")qtpWindow.highlightqtpWindow.Minimize