Micro Focus QTP (UFT) Forums

Full Version: Is it possible to Change Logical name of the Object and object properties through QTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Friends,

Is it possible to Change Logical name of the Object and object properties through QTP during the execution and save that object repository.
Ex: Logical name is ORG FOR HP15(need to change to ORG FOR HP16) it might be Link or WebElement
innertext: ORG FOR HP15(need to change to ORG FOR HP16)



Could you please share your thoughts.
Hi,

why do you want to change the logical name of the object, however you can change the Innertext in runtime using SetToProperty method and use the same object for different links/webelements.
Let me know if you want any info on this.