Repeating actions with Selenium with a different value each time Repeating actions with Selenium with a different value each time selenium selenium

Repeating actions with Selenium with a different value each time


As @Shivan Mishra mentioned, you have to do some data driven testing. In Katalon you can created test data in object repository (See https://docs.katalon.com/katalon-studio/docs/manage-test-data.html)

You can manage your test data in script like following example:

import static com.kms.katalon.core.testdata.TestDataFactory.findTestDatadef data = findTestData('path/to/your/testdata/in/object repository')for(int=0;i<data.getRowNumbers();i++){ def value = data.getValue(1, i)    // do any action with your value}