Skip to content

Replies

0
Ram D
Ram D answered on Jun 29, 2016 3:11 PM

Hello Mike,

With the QTP version, when we initially developed, it was identified as below.

SwfWindow("Zorba-WorkStation").SwfToolbar("MainMenu")

But with the UFT 12.53 it is detecting as below.

SwfWindow("Global Property Workstation").SwfObject("_MDIMainForm_Toolbars_Dock_Are")

When I try highlight the SwfWindow("Zorba-WorkStation").SwfToolbar("MainMenu") , I am able to highlight the same. But I could not be able to run the script and getting the issue.

SwfWindow("Zorba-WorkStation").SwfToolbar("MainMenu").PerformToolAction tbmgrToolbar, tbmgrClick, "AppToolbar", "Save"

This is the code that I developed earlier.

But now I am getting issue that PerformToolAction method is not supported for the object.

0
Ram D
Ram D answered on Jun 28, 2016 1:32 PM

Hello Michael,

I am also facing the similar issue, Where My script was function in QTP 11. Now I am trying to run the same in UFT12.53. 

I have installed the Infragestics version 12.1 and the application is also build using 12.1 version only.

Below is the Script developed in QTP 11:

SwfWindow("Zorba-WorkStation").SwfToolbar("MainMenu").Object.ToolbarsManager.Tools tbmgrToolbar, tbmgrClick, "AppToolbar", "Save"

Now the Object is detecting as below:

SwfWindow("Global Property Workstation").SwfObject("_MDIMainForm_Toolbars_Dock_Are")

Please advise.

Thanks

Ram