Quick Test Pro 填写表格需要很长时间

发布于 2024-09-16 15:14:19 字数 226 浏览 4 评论 0原文

我们观察到,对于某些测试用例,Quick Test Pro 需要很长时间才能填写表格。从布局和大小(150kb)来看,该网页相当复杂。大约有 40 个字段,测试用例使用标准 Browser.Page.WebEdit.set 命令填写大约 10 个字段。填充大约需要10-15秒。 该问题在不同的测试机上仍然存在。

使用例如硒进行相同的测试,表格填写只需一秒钟。

这是一个已知问题还是有任何选项可以加快速度?

We've observed that for some test cases Quick Test Pro takes very long to fill out forms. The web page is rather complex from its layout and size (150kb). There are about 40 fields where a test case fills out about 10 with the Standard Browser.Page.WebEdit.set command. The filling takes about 10-15 seconds.
The problem persist over different test machines.

Doing the same test with e.g. selenium the form fillout takes just a second.

Is this a known problem or are there any options to speed this up?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忆伤 2024-09-23 15:14:19

QTP 脚本速度慢的原因有很多。

  • 尝试关闭智能识别
  • 确保 qtp 不会等待之前的某些操作完成。
  • 查看 QTP 日志并分析每个操作开始的时间。问题是否恰好发生在标准 Browser.Page.WebEdit.set 步骤上?
  • 工具>选项>运行选项卡。查看“运行模式”和“屏幕捕获”选项。保存视频会减慢脚本速度。
  • ETC

There are a lot of reasons why QTP script can be slow.

  • Try to turn off smart identification
  • Make sure that qtp doesn't wait for some previous action to finish.
  • See QTP logs and analyze time when each action starts. Does the problem happens exactly on Standard Browser.Page.WebEdit.set step?
  • Tool > Options > Run tab. Check out "Run mode" and "Screen capture" options. Saving videos slows down scripts.
  • etc
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文