Facebook

Course Name Start Date Time Duration Registration Link
No Training Programs Scheduled ClickHere to Contact
Please mail To sudhakar@qtpsudhakar.com to Register for any training

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