Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting class from object repository when name of test object is given
#1
Not Solved
Hi all,
I am in the middle of an issue
I need to get the class of a test object from the object repository when i give the logical name of the object repository
Example
Code:
Browser("Yahoo!").Page("Yahoo!").WebEdit("star")
if this is the statement, i need to get WebEdit(class name) as output if i give "star"(logical name of a test object) as input

Any function available for that or lese any method available
Please help me. I am awaiting for your reply
Reply
#2
Not Solved
I dont think we have a way to get, but i am eager to know if there is a way
Reply
#3
Not Solved
Hi,
I am also searching for the same answer from today morning.
I myself feel it to be highly impossible.

As we can replace object name with variable name. there should be some method even for this HP need to create for if it is not available.
This can bring faster and easy way of developing scripts for regression testing.

Waiting for the fast reply.

just now only i created new post
https://www.learnqtp.com/forums/Thread-N...ass-in-QTP
[I request moderator to merge my post with this one.]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 3,453 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  Do we need object repository?? subhashinid 0 1,972 07-06-2016, 10:07 AM
Last Post: subhashinid
  When trying to recognize the object in QTP, each object is recognized as “WinObject:S geetasarvadnya 2 3,777 10-28-2015, 12:34 PM
Last Post: vinod123
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 3,812 08-20-2015, 11:39 PM
Last Post: ADITI1992
  Object repository losing object properties ishan.mahajan@adp.com 2 3,770 08-20-2015, 11:33 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 2 Guest(s)