For a Product QTP Scirpts has be developed,After few days the developers had changed the Browser name, is there any way to change the browser name in the script instead of changing browser name manually
1. when learning objects the browser name was "ram".
2. when browser name changes to some other name
3. how to make qtp to identify that newly changed name
Thanks & Regards
E Ram <font color="blue"> </font>
See whether you can avoid using the "name" property at all in the first place and since it is the browser name that is changed and not page name, you will be changing the property for the parent obj in the rep, which will be applicable for all child obj unless you have created multiple instances..
The browser name is usually not recorded. It just the logical name given in the OR. So even if the name changes the script can still work perfectly. If for visual sake you want to change the name then you can do that in the OR and it will update the code with the new name. But this is true for per-action repository and code NOT inside comments.