I am testing one application where some components are dragged inside a frame. Now these components may again have some ports and some other properties. But frame is being recognised in QTP as object but components themselves are not getting recognised as objects. Is there any way we can make QTP recognise these components also as objects.
I think you can solve this problem by using "Virtual Object" feature of QTP.
An application may contain objects that behave like standard objects but are not recognized by QuickTest. You can define these objects as virtual objects and map them to standard classes, such as a button or a check box. QuickTest emulates the user's action on the virtual object during the run session.