Akash1
3 years agoNew Contributor
Ready API datasource with groovy error
Hello All, I am having the following error when I run this groovy script for my datasource in readyapi: Error in datasource script of Data source. Cannot get property of "current row" on null obj...
- 3 years ago
Hi,
Just focusing on the error message initially....
Your line def row = testRunner.testCase.testSteps["DataSource"].currentRow should work. It works for me, but only after I checked that the bit in speech marks is correct. E.g. is your datasource step definitely called DataSource. Also, is your Groovy step after the Datasouce step and within the datasource loop?