Well, I must say, it is a very detailed and precise explanation. Keep it up !
I would insist you to add more properties in the descriptive for the Objects and probably look for Hwnd property if that is unique and if it may help.
Also, if that doesnt work, you may try to first highlight the object and see if that works, Something like,
As a last step, try to record the same action and playback. If it works, check the Object Repository to see what are the object descriptions QTP is trying to store to identify.
Let us know if anything helps.
I would insist you to add more properties in the descriptive for the Objects and probably look for Hwnd property if that is unique and if it may help.
Also, if that doesnt work, you may try to first highlight the object and see if that works, Something like,
Code:
Dialog("regexpwndtitle:=Save As").Highlight
Dialog("regexpwndtitle:=Save As").WinEdit("Class Name:=WinEdit").Click
Dialog("regexpwndtitle:=Save As").WinEdit("Class Name:=WinEdit").Set "Hema.xls"
As a last step, try to record the same action and playback. If it works, check the Object Repository to see what are the object descriptions QTP is trying to store to identify.
Let us know if anything helps.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.