By ZZXXBB112 Published: 2011 年 05 月 02 日

  QTP运行时设为最小化。具体看以下两种方式:

  1. AOM自动化模型方式

Set qtp = CreateObject( "QuickTest.Application" )
qtp.WindowState = "Minimized"
Set qtp = Nothing

 

  2. 直接获取QTP窗口对象进行最小化

Set qtpWindow = Window("title:=QuickTest.*")
qtpWindow.highlight
qtpWindow.Minimize
wait 1

 

相关文章:

  • 2021-09-01
  • 2022-12-23
  • 2022-02-14
  • 2021-04-12
  • 2021-11-29
  • 2021-10-31
猜你喜欢
  • 2021-05-18
  • 2022-01-25
  • 2021-12-24
  • 2021-06-09
  • 2021-07-08
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案