Forum Discussion
I am working on the grid where the 2 columns make the row unique.
I have attached the screenshot ftvorgn_ss.png
second attachment showing testcomplete code in javascript.
Got the error
Exactly as the message indicates... you have an object... you are trying to access it's parent through that object... but the original object, for some reason, no longer exist. Something changed in the middle there. Before you use an object, if there is a chance that the object is destroyed in the process, always check for existance.
- nisgupta6 years agoValued Contributor
The object does not exist on the first page . We have pagination and the object exist on the 3rd page . in the script While condition become true and it should clcik on next page but it through the error .
- tristaanogre6 years agoEsteemed Contributor
You cannot call "Exists" on an object that does not exist. Your while should FIRST check for exists... and then, once the object exists, THEN call the Parent object. You cannot call the method or property of an object that does not exist, this includes the "Exists" property. You need to alter your "While" loop...
Related Content
- 2 years ago
- 4 years ago
- 3 years ago
- 2 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago