首页 > Linux操作系统 > Linux操作系统 > Generating Automation Scripts

Generating Automation Scripts

原创 Linux操作系统 作者:ipqiaojj 时间:2009-03-17 15:10:24 0 删除 编辑

Generating Automation Scripts

The General tab of the Options dialog box and the Object Identification dialog box each contain a Generate Script button. Clicking this button generates an automation script. file (.vbs) containing the current settings from the corresponding dialog box.

You can run the generated script. as is to open QuickTest with the exact configuration of the QuickTest application that generated the script, or you can copy and paste selected lines from the generated files into your own automation script.

For example, the generated script. for the Options dialog box may look something like this:

Dim App 'As Application

Set App = CreateObject("QuickTest.Application")


App.Visible = True

App.Options.DisableVORecognition = False

App.Options.AutoGenerateWith = False

App.Options.WithGenerationLevel = 2

App.Options.TimeToActivateWinAfterPoint = 500



App.Options.WindowsApps.NonUniqueListItemRecordMode = "ByName"

App.Options.WindowsApps.RecordOwnerDrawnButtonAs = "PushButtons"


来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录


  • 博文量
  • 访问量