开发者

Quick Test Pro Takes Long to Fill Out Forms

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 St开发者_JS百科andard 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?


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜