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
315
Error: Swftoolbar : Cannot Access a disposed object. Object name: PopupmenuControlTrusted
posted

Hello,

                I have been working with TestAdvantage for HP QuickTest Proffessional. The Version of Testadvantage is 2006 Volume 1 CLR 2.0 and Netadvantage is also on the same version.

 In my application i try to select a object from a tree and then right click on it. The right clicked context menu appears as a swftoolbar and when i click on to select a option it throws a error as

"Cannot Access a disposed object. Object Name:PopupMenuControlTrusted" .

I have attached the screenshot for reference.

 Can you please let me how to work with this issue ???

 Looking forward for a solution.

 

Warm Regards,

Robert

Parents
No Data
Reply
  • 250
    posted

    Hi Robert,

     Use .Net Windows Forms Spy insted of using normal spy. Located in QTP--> Tools-->.Net Windows Forms Spy

    Click on normal toolbar after that spy learns all toolbars data and displays.

    After that expand the following items in .Net Windows forms Spy

    ToolbarsManager.Tools .Item()...

    or

    ToolbarsManager.Toolbars...

    You will get the data for particular Popup menu tool. and wrie the script as per flow of the spy Ex: (XX).Object.ToolbarManager.Tools.Item(3).Select etc...

    Record the script. Execute, it will work.

    Thanks

    Sridhar

Children