Cannot identify the object error
I have mainly done Manual testing and web testing. I am very new to QTP. I understand the theoretical part. I have to run few automation scripts in the last 2 days of sprint. That's all the time get as i have to work on other commitments during the sprint. Most of the errors i get are object related errors. and the fact that my colleagues don't get time to help me with scripts is not helping me.
Can somebody tell me what can i do to solve when i encounter error like these?
My guess is I have to capture the properties of the objects in AUT and change that in the repository.
I will try to get the script if necessary.
Cannot identify the object "Please complete any pending" (of class WebTable). Verify that this object's properties match an object currently displayed in your application.
Cannot identify the object "Sign Off" (of class Link). Verify that this object's properties match an object currently displayed in your application.
Line (20): "Browser("Transite and Static").Page("MainTabs").Link("Sign Off").Click".
Re: Cannot identify the object error
Run the script in Maintenance Run mode. In QTP help guide search for "Maintenance Run mode". This helps to better understand what objects are failing and how to add more properties..
Also the best alternative is to go with descriptive programming approach. Do a search on this forum on this topic