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