Forum Discussion
avidCoder
7 years agoSuper Contributor
Here is the solution to create dynamic property value inside DataSink or Properties testSteps.:-
for(int i=0; i<countOfBooks; i++)
String b = "Book"
String temp = b.concat(i)
testRunner.testCase.testSteps["DataSink"].setPropertyValue(temp,
storeToDataSink.toString())
}
where storeToExcel is the value of the books such as AJANTA, DIKSONm PIRATE, SONIC
Related Content
- 6 years ago
Recent Discussions
- 12 hours ago
- 5 days ago