I am working on .Net desktop application, in this application different Ribbons has been created based on the required functionality. I am using UFT(QTP) 11.5 as automation tool.
when I am trying to do the recording of the application most of the objects are getting identified as WinObject also when I click on any of the Ribbons instead of opening a new Window application is getting closed at this stage.
Selected ADD Ins are : Web, .Net, WPF, Active X, Visual Basics
If I remove the .Net add In then during recording application does not getting closed but UFT does not identify all the objects correctly and showing WinObject in general.
Make sure you are using the latest .Net UISpy in the Windows Software Development Kit. There is another tool in there that may assist as well (I can't recall the name of it). Also, you may need to get the child objects of the parent object in order to manipulate the child objects. Get the child objects and print a count to see if this method is feasible. The UISpy in the SDK can help with object manipulation of child objects, if this method works.
I think I've seen this issue on my end. A work around I found for it is to enter the application's information in the Record and Run Settings off of the Automation menu and let the tool launch it rather than using a scripted launch (e.g. systemutil.run "c:\ceesharptool.exe").