Iam running a script fine for a Client/Server application untill a couple of days back then after it started failing. Now it is identifying many of the windows differently than previous. So, I need to record again at the locations where ever it is identifying windows differently. Is there any other way than recording again since this is a very long script.Here is a piece of code to better understand my problem:
The code where my script is failing:
VbWindow("MDIrls").VbWindow("frmLiability").VbEdit ("txtClaimData(4)").Set "Sample Test".
Now when I record again at this location the code is:
VbWindow("MDIrls").VbWindow("frmLiability_2").VbEd it("txtClaimData(4)").Set "Sample Test".
Previously it used to identify that particular window as frmLiability and now it is identifying as frmLiability_2 though the spying on the object describes the object as frmLiability rather frmLiability_2 even now.
Do you any body have any suggestions how to handle this problem other than recording again since this is a very long script and almost every window it is identifying differently.