


How can i iterate through the values from page.getProperties() in groovy?
Views
Replies
Sign in to like this content
Total Likes
Hi @Shaheena_Sheikh,
getProperties method returns ValueMap , you can iterate like this:
page?.getProperties()?.each { property ->
println "Property key: ${property?.key}"
println "Property value: ${property?.value}"
}
key represents property key, value represents property value.
Hi @Shaheena_Sheikh,
getProperties method returns ValueMap , you can iterate like this:
page?.getProperties()?.each { property ->
println "Property key: ${property?.key}"
println "Property value: ${property?.value}"
}
key represents property key, value represents property value.