I recorded a script for a simple application and was running perfectly at that time.A week later when I ran the same scripts , the test failed and shows Object does not exist.There has been no changes to the application.Could anyone tell me what can be done to run this test like before.If this is the case always how can I record scripts for long term.
Re: Recorded script shows error when run a week later
You have to examine script line and compare to your actual application tree object. Maybe try to use wildcards instead of full strings regarding window caption (or other property). Ensure you run you tested app via Test Complete's Tested Apps collecion.