Forum Discussion
nmrao
Champion Level 3
You saw how to get a value of property, opposite of it to set. Use setPropertyValue(key, value)
juliandiazdepoo
8 years agoRegular Visitor
Rao, thanks for your explanation! Nevertheless, I did not figure out a way to put the file in the datasource-File. Can you pls support?
Thanks in advance,
Julian
- Asish6 years agoRegular Visitor
Try this -
def dataSourceStep = testRunner.testCase.getTestStepByName("DataSource");
dataSourceStep.getDataSource().setFileName("FilePath");
Cheers,
Ashish
Related Content
- 7 years agothomasleesai