Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
Infragistics toolbar issue
posted

Hi all,

In our company Infra QA team recorded the menu selection action with QTP: click Transaction from main menu, then click Buy menu item. But it failed while the replay in QTP. The QTP did click the Transaction menu but not the Buy menu item.

Here are the codes from expert view mode:

 

SwfWindow("XXX Desktop 8.0.0").SwfToolbar("_XXXForm_Toolbars_Dock_Area").DropdownToolbarTool "newMainMenu","&Transactions"

wait 3

SwfWindow("XXX Desktop 8.0.0").SwfToolbar("_XXXForm_Toolbars_Dock_Area").ClickMenuTool "newMainMenu,&Transactions","Buy|XXX.XXX.Forms.ScreenDataSet.ScreenLauncher,XXX.Forms.ScreenDataSet|Buy"

 

The Error message as below:

IG : The specified Tool [&Transactions,Buy|XXX.XXX.Forms.ScreenDataSet.ScreenLauncher,XXX.XXX.Forms.ScreenDataSet|Buy] does not exist.

Question: Any one have any ideas how to select the menu item, thanks.

Parents Reply Children
No Data