Facebook

For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
Course Name Date Time Duration Type Location
Selenium Framework Development 22nd July 2019 6.30 AM IST to 8:30 AM IST 15 Days WeekDays Online

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

Wednesday, June 10, 2009

how to parameterize links in a web page?

'******************************************************************************
Dim lnk_array
lnk_array=array("link1","link2","link3","Link4")

For i= 0 to ubound(lnk_array)
  Browser("Google").Page("Google").Frame("body").Link("Link_1").SetTOProperty "text",lnk_array(i)
  Browser("Google").Page("Google").Frame("body").Link("Link_1").Click
Next
'******************************************************************************

No comments :

Post a Comment