Forum Discussion
avidCoder
Super Contributor
As per my knowledge. you cannot write anything to DataSource but you can set the property value in DataSource like this:-
def response = context.expand(${Request#Response}) testRunner.testCase.testSteps["DataSource"].setPropertyValue("Response", response)
So, here if you are getting ID's at every loop, put this code there (Do some changes in code with respect to ID) inside for loop and store the ID's at DataSource property.
Does it sound good to you?
TanyaYatskovska
6 years agoSmartBear Alumni (Retired)
Hi jeev,
Does avidCoder's reply help you? If it does, please accept this post as a solution (a big green button). It will help other community members find the answer faster. Plus, avidCoder will get some points to his reputation!