Is this the scenerio that when you spying something then obeject on the UI is not being displayed on spy box and because of that properties and values are not being displayed.
If this is the scenerio, I would suggest you to change your setting in "Run & Record".
Open QTP > Go to Automation > Click "Record & Run Setting" and here do some changes.
For eg. select 1st radio button on "Web" tab.
In Windows application Tab, select second radio button "Record and run only on" and check first and last checkbox.
Let me know if i am correct in my assumption :) and the solution mentioned above works for you.
As per my understanding this time, in your scenerio, objects are being displayed in your spy. BUT none of the values (corresponding to Properties) are being displayed.
Because if objects are being displayed in the spy then their respective properties should also be displayed on the spy and if their properties are being displayed than their corresponding values should be displayed.
One more thing that we can try is, just try whether spy is showing values in "Run time Object properties" and we can use values from there to automate a window.
Refer attached snapshot for the refrence.
Kindly let me know if I am correct in understanding.
Kishore, Is this window is a part of your application under test(AUT) or it is a main window of the AUT.
If your answer is yes for 2nd part, change the tool which will support/identifies the window.
If your answer is yes for the first part, you can go with the analog record more or create virtual object and use it.
One more option we can try is use "Object Identification" window since properties are not being displayed then may be the issue is that the parent or child object properties are not visible.
Followthe following steps:
1. Go to Tools > Object Indentification.
2. Select parent (your environment).
3. Select child (from test object classes)
4. Click 'From add/Remove' button
5. check all the checkboxes
6. Click ok.
Now again open the object spy for the window for which spy was not showing the property value.
These steps are no way relats to object spy to show the properties of that object. If the object spy is not showing any properties, the object is not recoganized by the QTP.
To work on such controls, you need to create some virtual objects and play on it.