Forum Discussion
- SmartBear_SuppoSmartBear Alumni (Retired)Hi,
try the following;
def model = testRunner.testCase.testSteps["DataSource"].dataSource.gridModel
the javadoc for this is at http://www.soapui.org/apidocs/pro/com/e ... Model.html
use the insertRows( rowIndex, nrOfRows) method to add rows (rowIndex of -1 appends)
regards,
/Ole
SmartBear Software- krabhishek_30Occasional Contributor
Hi, this link does not work. Do you have any updated link for this ?
My use case, i want to write values to different columns in grid type data source.
- groovyguyCommunity Hero
krabhishek_30: Is this the link you were looking for? https://support.smartbear.com/readyapi/apidocs/pro/com/eviware/soapui/impl/wsdl/teststeps/datasource/GridDataSource.html
- BuschfunkFrequent ContributorAh, great. I will give it a try. In the meantime I have written the data to a DataSink which becomes the new DataSource. But I do like your script better
- SmartBear_SuppoSmartBear Alumni (Retired)cool - the DataSink -> DataSource solution is a good idea also!
/Ole
SmartBear Software
Related Content
- 4 years ago
- 4 years ago
- 8 years ago
- 3 years ago
Recent Discussions
- 10 days ago