Executing Test case - Multiple runs with diff Test data

I want to execute a Test case which is part of test suite two times instead of duplicating a test case in test suite,
For first run it should pick Test data1
For second run it should pick Test data 2

Can you pls help me how to achieve in Katalon?

Try this:

I tried as below but facing cast exception,What i am missing here,Please guide me.
import com.kms.katalon.core.testdata.InternalData
InternalData data = findTestData(“Reset_Password”)
for (def index : (0…data.getRowNumbers() - 1))
WebUI.setText(findTestObject('Object Repository/Page_CMC/input_FILTER_ng-pristine ng-untouched ng-va_159edf'), data.internallyGetValue("Org_name", index))

org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object

Unable to bind variables,if is select Set Test Data no response.

Kindly help

Try doing a YouTube search for Katalon videos, for example:

1 Like