Is there any easy way to validate multiple hyperlinks in a page - 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: Is there any easy way to validate multiple hyperlinks in a page (/Thread-Is-there-any-easy-way-to-validate-multiple-hyperlinks-in-a-page) |
Is there any easy way to validate multiple hyperlinks in a page - iamsekhar - 09-14-2010 Scenario: I have explained scenrio in attached screen shot, plz refer 1. By clicking on every link the xls file will open then i should validate row count in xls file to the hyperlink number. (I have done this scenario) 2. My question is: In my page around 2000 hyperlinks are there, i have to click each and every hyperlink or is there any other way? Code: Window("Lilly Science Grid").Page("Page_3").Link("25").Click // clicked on hyperlink Kindly suggest approach... RE: Is there any easy way to validate multiple hyperlinks in a page - KavitaPriyaCR - 11-09-2010 Hi your question is not clear...Why you are clicking on the link each and every time? What is your doubt? RE: Is there any easy way to validate multiple hyperlinks in a page - A.Saini - 11-10-2010 Hi Sekhar, Please let me know whether I am getting your question correctly or not. You have a excel sheet in which 2nd & 3rd columns contains hyperlinks (the value of hyperlink is a number) for each row. Now you have to click over each & every hyperlink. If you click over a link it opens a new excel sheet. You have to count the number of rows of new sheet. Now I have two questions. 1. Is there any relation between the ‘hyperlink value’ & the ‘rows count of the sheet’ which comes after clicking over the hyperlink? 2. Is the row count & hyperlink value is changing very frequently? |