Hi there, I have a function to select an item from a winmenu - this works fine when running in a test in QTP and selects the relevant menu item, however when the function is added to the function library and then run from QC, I get an object not visible error. QTP is not overlapping the app; it gets minimized during running. I'm using the shared object repository not a local one and my file in QTP is associated with the shared repository. Any ideas why it cant see it?
Re: WinMenu object not visible when running from QC
Thanks to everyone for their advice. I've fixed this by using a custom method that has been created by our developers to select a menu item from the parent Delphi window. QTP and QC both work using this e.g. DelphiWindow("FormOrderAlloc").MenuItemSelect("Exp ort"), rather than the Window("Window").WinMenu("Menu").Select "Export" option. [img]/images/graemlins/laugh.gif[/img]