I would like your advice on this issue: in our company, we have different versions of the product. The problem that I have is that every time they produce a new version (not build) of the product, some of the qtp scripts failed because the objects are not recognized. If you were in my shoe, what would you do besides praying?
every application poses its own challenges, you first need to do a analysis. You need to see how these changes happen, is there a pattern or change is altogether random. Based on this analysis you can tweak your framework
Automation engineers need to interface tightly with development. Testability must become a requirement of the product and you should be working with devs regularly on automation challenges so they know what changes cause those challenges and how to mitigate them.
Do you mean that your company maintains 2 or more versions of the same application in parallel and you want your scripts to be compatible with all versions?