标题: 运行自动化脚本时,出现错误请帮忙看下。 [打印本页] 作者: waiverson 时间: 2007-11-13 13:55 标题: 运行自动化脚本时,出现错误请帮忙看下。 Dim qtApp 'as quicktest.application' declare the application object variable
Set qtApp = CreateObject("QuickTest.Application") 'create the application object
qtApp.SetActiveAddins Array("Web") 'Activate the web add-in
qtApp.Launch 'start QuickTest
qtApp.New 'open a new test
'configure the web application to use with this test