I faced the following problem. I have recorded/identified the objects of my application through window declarations. When i run my testcase i did not get any problem and the testcase was passed. Now after 2 days when i ran the same testcase it is failed. When i recorded the window declarations again, it is showing different names for the objects.(for ex: first time if it is recognized as the name "obj1", second time it recognized as the name "obj2"). It means the tool is dynamically recording/recognizing the objects. Can anyone give me solution to overcome this problem?
The solution won't make you happy, most likely. You need to stop using recorded declarations. I am not saying to stop using the recorder, because it is a handy tool, but you are much better off with handcoded declarations based on the information from the recorder. See multitag in Help if you aren't already familiar with them. You'll have to chose which tags make the most sense for you to avoid having future recognition problems.