Micro Focus QTP (UFT) Forums
How to copy a Link name? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to copy a Link name? (/Thread-How-to-copy-a-Link-name)



How to copy a Link name? - mv8167 - 05-10-2011

Hi everyone,

I have a link found on my website that the name will change depending on which previous link was selected. How can I select a link, and thus copy the link name from the screen, then reuse the link name and/or pass on the found link?

There are hundreds of link names that could be displayed.


Continued ...

When I get to a particular page it might have one to 10 Document Types. The Doc Types is a column. I need to detmine how many links they are (1, 2, 3, ... 0, etc), and thei link names. After determining the link names, i select each link one at a time and do my tests. Every time the link names could change.

I beleiveI need to build a global array that I can read and place the links into. Then reteive the number of links and the name of each link. Then use the global arry/db to run a do loop?
?
?
?

Any ideas?

thx for any suggestions




RE: How to copy a Link name? - Anand - 05-12-2011

Hi,

I dont know much about this prob. but may be it can be solved by Descriptive Programing. refer file attached for descriptive programming.

Regards,
anand