Unable to interact against a Chrome browser using CreationTime in QTP 11

  • KM00395375
  • 30-Mar-2013
  • 14-Feb-2014

Summary

Unable to interact against a Chrome browser using CreationTime in QTP 11

Question

When attempting to use the CreationTime ordinal identifier in QuickTest Professional (QTP) 11 to interact against a Chrome browser object, the step is not performed and there is no error message displayed.

For example:

Browser("creationtime:=0").Close

 

The above line should close any browser object with CreationTime set to 0. It will work for Internet Explorer and Firefox, but will not close a Chrome browser window.

Answer

This behavior is expected as QTP 11 does not support testing against multiple Chrome browsers or tabs.

This is considered a limitation when working against Chrome in QTP 11.