QTP的Web ReplayType 设置
参考:
http://knowledgeinbox.com/articles/qtp/settings/when-to-change-qtp-web-replaytype-setting/
什么是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 'Mouse Browser("KnowledgeInbox").Page("ReplayType").WebEdit("txtReplayType").Set "KnowledgeInbox" Browser("KnowledgeInbox").Page("ReplayType").WebButton("Type and enable me").Click Setting.WebPackage("ReplayType") = 1 'Events |
自动化测试资讯平台 http://www.AutomationQA.com
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步