Update SQL query in a Test Data dynamically

To update SQL query in a Test Data dynamically, you can refer to sample code below:

DBData dbTestData = findTestData('######')
dbTestData.fetchedData = dbTestData.fetchData()

References:

Credit to Trong Bui

Feedback