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.