什么是ReplayType

上一篇 / 下一篇  2012-12-05 22:59:25 / 个人分类:QTP

什么是ReplayType:

ReplayType is QTP Web Add-in setting. It can be used to change how the events are replayed on the browser. There are two modes of ReplayType

  • Events (1) - Replay of events using the Browser methods (something similar to DOM).
  • Mouse (2) - Replay of events using the mouse and keyboard simulation.

 

在QTP脚本中的使用方法:

Setting.WebPackage("ReplayType") =2'MouseBrowser("KnowledgeInbox").Page("ReplayType").WebEdit("txtReplayType").Set"KnowledgeInbox"Browser("KnowledgeInbox").Page("ReplayType").WebButton("Type and enable me").ClickSetting.WebPackage("ReplayType") =1'Events

TAG:

 

评分:0

我来说两句

Open Toolbar