Solved
Forum Discussion
3 Replies
Sort By
- groovyguyChampion Level 1
What do you mean by "print the datasink property values"?
- avidCoderSuper Contributor
Oh, I mean, How to get the propertyValue and propertyName from the DataSink.. using groovy code.
- avidCoderSuper 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
- 9 years agoAngieD18
- 3 years agodavid2
- 5 years agoSuperTester