Micro Focus QTP (UFT) Forums
Selecting Link - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Selecting Link (/Thread-Selecting-Link)



Selecting Link - Magad - 10-29-2014

Hi, Could someone help out this problem.

Here is the scenario: I have web application which has almost 150 web tables so I need to select a link with searching specific text.

Suppose ex: "Hello this is the link" Link1

I have to write a generalised function which will take to be searched text (Hello this is the link) as parameter if it finds text in the web page then needs to click link (Link1) next to that text.

Thanks


RE: Selecting Link - PrateepKaraval - 11-07-2014

Hi Magad,

Please look at this link it was very helpful for me when my object's properties were too dynamic, I used the xpath to identify which Link I want QTP to click.


https://www.learnqtp.com/xpath-based-object-identification-qtp/