Facebook

Course Name Start Date Time Duration Registration Link
Python for Testers 15th July 2020 9.00 PM IST to 10:30 PM IST 10 days ClickHere
Please mail To sudhakar@qtpsudhakar.com to Register for 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