Facebook

Course Name Start Date Time Duration Registration Link
Cypress JavaScript API Testing 2nd October 2021 9AM - 2PM IST 3 Weekends (30Hours) ClickHere to Register
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