Micro Focus QTP (UFT) Forums
How to record as "Link" instead of "WebElement" - 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 record as "Link" instead of "WebElement" (/Thread-How-to-record-as-Link-instead-of-WebElement)



How to record as "Link" instead of "WebElement" - mamtamanu - 12-29-2009

I am using this tutorial for regular expressions

I am trying to repeat steps from the above tutorial, once i logon yahoo, and click for 'inbox' link, it recorded as
Code:
"Browser("News, Entertainment, Business,").Page("Yahoo!7 Mail (mamtamanu)").WebElement("Inbox").Click "
but, tutorial shows
Code:
"Browser("News, Entertainment, Business,").Page("Yahoo!7 Mail (mamtamanu)").Link("Inbox(6)").Click"

what are the settings I need to do to record as per the tutorial

how to record as 'link' instead of 'webelement'?

I am using QTP 10.0 trial version and windows 7 operating systems


RE: How to record as "Link" instead of "WebElement" - Saket - 12-29-2009

I think you should better ask to the blog owner there only Smile

but no issues you will definetily get an answer here. search this forum- there are lots of thread discussed on the same earlier.