You wrote you want to repeat this code fragment 100 times. Then how about:
for (int i = 1; i <= 100; i++) {
WebUI.sendKeys(
findTestObject(‘LoginPage/userName’),
findTestData(‘TestData/Login’).getValue(2, i))
}
You wrote you want to repeat this code fragment 100 times. Then how about:
for (int i = 1; i <= 100; i++) {
WebUI.sendKeys(
findTestObject(‘LoginPage/userName’),
findTestData(‘TestData/Login’).getValue(2, i))
}