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
85
Exception from HRESULT: 0x80040205 Error message for ClickToolbarTool
posted

Configuration--Running QTP 9.5 with TestAdvantage 2006 Volume 3 CLR 1.x.

The application has UltraToolbars in it.  I have code that will select items on the tool bar.

Example:

SwfWindow("PPlus-Main").SwfToolbar("Add_Edit_Toolbar").ClickToolbarTool "Edit","New"

The line above will successfull click the New button on the Add_Edit_Toolbar.

Example:

SwfWindow("PPlus-Main").SwfWindow("Addresses").SwfToolbar("Add_Edit Toolbar").ClickToolbarTool "Edit","New"

This code that should select the New button in the Add_Edit_Toolbar of a spawned child window.

Problem is that the child window action errors with the following exception:

An unexpected exception was raised (Exception from HRESULT: 0x80040205)
Line (19): "SwfWindow("PPlus-Main").SwfWindow("Phones").SwfToolbar("Add_Edit Toolbar").ClickToolbarTool "Edit","New"".

Has anyone encountered this before?

I tried running the same scripts which came with install of TestAdvantage and they too are generating this exception.

Parents Reply Children
No Data