Forum Discussion
omatzura
16 years agoSuper Contributor
Hi Ali,
ok.. you would have to loop the rows to get all item values and then dump the resul, try the following:
Does that work?
regards,
/Ole
eviware.com
ok.. you would have to loop the rows to get all item values and then dump the resul, try the following:
if(testRunner.testCase.testSteps["jdbc_datasource"].currentRow) != 0)
{
def ds = testRunner.testCase.testSteps["jdbc_datasource"]
def list = [ds.getPropertyValue( "itemid" )]
while( ds.next( testRunner, context ))
list.add( ds.getPropertyValue( "itemid" ) )
throw new Exception( list.toString() )
}
Does that work?
regards,
/Ole
eviware.com
Related Content
- 3 years agoMoUddin
- 3 years agoLucian
- 5 years agompartyka
- 6 years agoamarnath1234