Forum Discussion

kanchankumbhalk's avatar
kanchankumbhalk
Occasional Contributor
13 years ago

blank data being pulled from datasource

Hi,

I am trying to pull data from datasource but its always blank.
I know I am doing it the right way because it works the first time i try it when I make a new project.
But all the subsequent times it doesnt pull any data. No error is given

eg:

def compensationType = context.expand( '${DataSource#CompensationType}' )
log.info "${compensationType}"

the log is always empty,instead of showing the data which is being pulled from the excel sheet datasource that I added
  • kanchankumbhalk's avatar
    kanchankumbhalk
    Occasional Contributor
    I solved this issue by setting the checkbox - "Select if rows containing empty data should be skipped"to true fro Datasource
    Seems like the excel has empty rows which were getting pulled during execution.