Micro Focus QTP (UFT) Forums
Need to click a link in IE - 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: Need to click a link in IE (/Thread-Need-to-click-a-link-in-IE)



Need to click a link in IE - TeamTJ - 04-30-2011

I have a script that reads values from an Access database to cycle through the values and download files from my work's intranet site.

I can navigate just fine, but when it comes time to click the link with the attachment name (the page has many links on it) I get the error that the Link object was not found in the Object Repository.

I have 10,000+ attachments to download...how can I get around the Object Repository issue?

I tried this:
Code:
strResponseID = rs.Fields.Item("RFx Response ID")
Browser("Oracle | PeopleSoft Enterprise").Page("Main").Link(strResponseID).Click

Line 2 is what throws the error....

Suggestions?

Thanks!

Morgan


RE: Need to click a link in IE - Skepsis - 06-14-2011

You could try the old 'tabbing around the web page and space bar, i think, to select.

If you know the address then create a web page and make the link in the html, then you only have 1 link to click on.