Solved
How can i iterate through the values from page.getProperties() in groovy?
How can i iterate through the values from page.getProperties() in groovy?
How can i iterate through the values from page.getProperties() in groovy?
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.