Forum Discussion
Solved
Property expansion is supported for end row. You should be able to create a property to store the end row number and a groovy script to update the end row as needed.
Hi jsheph01
Thanks for answering.
Could you give some example of how to use that property expansion and how groovy could help on updating the end row? just a very simple example should be very helpfull. Or, maybe you know a place in the internet where I could have a look?
Thanks and regards,
Joaquin.
... and an example of setting the end row via Groovy:
// Example run from Groovy Script test step def dataSourceTestStep = testRunner.getTestCase().getTestStepByName("DataSource") dataSourceTestStep.setEndRow("5")
Note: The data source test step is the class WsdlDataSourceTestStep.
You can find the property expansion documentation page here:
https://support.smartbear.com/readyapi/docs/testing/properties/expansion.html