Forum Discussion
avidCoder
Super Contributor
Oh, I mean, How to get the propertyValue and propertyName from the DataSink.. using groovy code.
avidCoder
7 years agoSuper Contributor
Oh, I got the solution:--
def data = context.testCase.getTestStepByName("DataSink");
propToGet = data.getPropertyNames();
for ( int j = 0 ; j < propToGet.size(); j++ ){
def value = data.getPropertyValue(propToGet[j])
}
Related Content
- 10 years ago
- 4 years ago
- 6 years ago
Recent Discussions
- 3 hours ago
- 17 days ago