02-21-2012, 11:11 AM
Hi,
The question that you are asking is not clear.
Let me rephrase your question. Do you want to set the values (such as Kim1,Kim2) in the txtFirstNameField? If yes then use the below code
feel free to post in case this doesnt suits your requirement.
Regards,
Ankesh
The question that you are asking is not clear.
Let me rephrase your question. Do you want to set the values (such as Kim1,Kim2) in the txtFirstNameField? If yes then use the below code
Code:
counter = 1
Do
Browser("Softronic - HCMS").Page("Softronic - HCMS_2").WebList("ddlTitle").Select "Ms."
strVar=Cstr("Kim"&counter)
Browser("Softronic - HCMS").Page("Softronic - HCMS_2").WebEdit("txtFirstName").Set strVar
counter = counter + 1
Loop while counter <= 5
Regards,
Ankesh