Forum Discussion
DavidEtcell
12 years agoOccasional Contributor
I would say the datasource is named wrong.
in my examples I've just called it 'Datasource' so the line mapping it to a variable looks like:
def source = testRunner.testCase.getTestStepByName("Datasource")
in the first bit of code you posted, its looking like yours is called 'CreateOrgValidations DataSource'
so try changing the name in that line to whatever you called the datasource. probably something like:
def source = testRunner.testCase.getTestStepByName("CreateOrgValidations DataSource")
in my examples I've just called it 'Datasource' so the line mapping it to a variable looks like:
def source = testRunner.testCase.getTestStepByName("Datasource")
in the first bit of code you posted, its looking like yours is called 'CreateOrgValidations DataSource'
so try changing the name in that line to whatever you called the datasource. probably something like:
def source = testRunner.testCase.getTestStepByName("CreateOrgValidations DataSource")