qtphp-uftqtpluginuft-apiuft14

How to click Chrome plugins like "Download" and "Print" button in qtp


I was trying to download a pdf report and the download button was "chromes download plugin button" which i am not able to click using qtp script. The properties shown for all three buttons "Print","Download" and "Rotate" are same:

"html id:=plugin",
"html tag:=EMBED"

I couldn't initiate a click using these properties.

Screenshot

I am using UFT 12.02

And also , these buttons appears only when we hover the mouse pointer over the report.


Solution

  • UFT doesn't typically support Chome's built in controls. For cases in which UFT doesn't support a specific control you can use Insight, UFT's image based object identification. You can read more about how to use Insight here.

    If the buttons only appear when you hover over them then you can either use UFT's device replay in order to cause the buttons to appear, or simpler still, use Insight again which has a Hover method.