Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to Change Logical name of the Object and object properties through QTP
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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.
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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.
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  General Object Error(Find Object Error) akhandesh 1 3,595 02-24-2016, 01:05 PM
Last Post: sindhus
  If Object name is completely changing then I am unable to recognize that object swapna.9n9 0 2,119 11-14-2014, 05:35 PM
Last Post: swapna.9n9
  Assigning object properties to a variable using dp nmakkena 1 3,947 04-18-2014, 06:46 AM
Last Post: kgovadav
  not identifying the object properties seven 3 2,736 02-18-2014, 04:23 PM
Last Post: supputuri
  QTP highlights object incorrectly in INFOR EAM application akhandesh 0 2,198 01-24-2014, 12:22 PM
Last Post: akhandesh

Forum Jump:


Users browsing this thread: 1 Guest(s)