1

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.

4

1 回答 1

1

UFT 通常不支持 Chome 的内置控件。对于 UFT 不支持特定控件的情况,您可以使用Insight,即 UFT 基于图像的对象识别。您可以在此处阅读有关如何使用 Insight 的更多信息。

如果按钮仅在您将鼠标悬停在它们上方时出现,那么您可以使用 UFT 的设备重播以使按钮出现,或者更简单,再次使用具有Hover方法的 Insight 。

于 2017-06-15T08:50:58.970 回答