You need to check what properties are available against the object. Firstly identify the object containing the text. Is this a textbox on the grid, or simply text on the grid?
Then take a look at the Test Object properties for the object concerned. QTP captures enough properties to make each object unique and ignores others. Some are mandatory (co-ordinates) and others are assistive (in case the mandatory properties are not enough to uniquely identify the object). These can be adjusted in the Test Object properties listing. Depending on which version of QTP you are using, the list appears under a different name.
QTP 8 --> Help - QTP Help - Object Model Reference - <your environment> - <your environment> - Test Object Properties
In QTP 6.5, --> Help - QTP Help - Object Model Reference - <your environment> - <object> - Test Object Properties.
Make sure the properties you want to be captured are set to be captured.
That should do it...
Cheers,
Dave
Probably the only Test Analyst Manager on Tek-Tips...therefore whatever it was that went wrong, I'm to blame...
animadverto vos in Abyssus!
Take a look at Forum1393!