Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there any easy way to validate multiple hyperlinks in a page
#1
Not Solved
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
'Getting all hyperlinks in a page
Set Links = Window("Lilly Science Grid").Page("Page").Object.getElementsByTagName("a")
Msgbox "Total links:" &Links.Length
I will appreciate your help
Kindly suggest approach...


Attached Files Image(s)
   
Reply


Messages In This Thread
Is there any easy way to validate multiple hyperlinks in a page - by iamsekhar - 09-14-2010, 12:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to validate a format of an alphanumeric string PrateepKaraval 2 5,986 11-08-2014, 10:26 AM
Last Post: vinod123
  How to validate tool tip in a web page? qtplearner88 3 4,312 04-24-2013, 05:19 PM
Last Post: nucleation
Exclamation How to validate color of image object in a web page qtplearner88 9 9,226 06-14-2012, 06:34 PM
Last Post: Shridevi.Salagare
  validate the articles without text/textarea checkpoint priya999 4 4,841 03-03-2011, 12:27 PM
Last Post: A.Saini
  one reusable action per test makes your test easy to maintain, what about performance umer830 0 1,811 01-18-2010, 06:11 AM
Last Post: umer830

Forum Jump:


Users browsing this thread: 1 Guest(s)