diganth
8 years agoFrequent Visitor
Create Datasource columns and values via groovy
I am trying to copy contents from a datasource/datasink of one testcase to a brand new grid datasource in another testcase. Following is the scenario: I am testing 2 features - Login and Functio...
- 8 years ago
Hi Diganth,
Thank you for your post!
You can get a Datasink content using the following:
context.expand( '${DataSink_TestStep_Name#Property_Name}' )
What is the type of your DataSource and DataSink? Maybe it's better to use the Property expansion: https://support.smartbear.com/readyapi/docs/testing/properties/expansion.html or the Property Transfer Test Step: https://support.smartbear.com/readyapi/docs/soapui/steps/property-transfer.html.