I have a problem when replaying recorded scripts.
If I rerun the script on the same application (version) Objects change, which results in the script giving an error because the object cannot be found.
Example:
Call Aliases.Applic3.FO_CRMMain. StdForm.UO_RelLst.splitContainerControl3.SplitGroupPanel2.tabEigenschappen.tabBereikbaarheid. labelControl7. textBoxUsrNm.SetText(usrCredentials)
- Applic3
- splitContainerControl3
- SplitGroupPanel2
- labelControl7
Can differ every run, for example Applic3 becomes Applic and labelControl7 becomes labelControl4
Every time the script executions stops and asks if I want to update the object another time if want to retry.
Is there a way I can handle those changes?
For me this is an impediment on reusing created scripts, this problem occurs if I rerun in the same application version and even more if I update the application to another version.
I see other issues of this kind where the user is advised to Map to the desired object, but my I think My problem will remain, because if I Map the previous Alias to a new mapping, the underlying alias stays valid.
My bottom question is, is there a way to point to objects in a way they always will be found from my VB test scripts?
Herbert