Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
How can i iterate through the values from page.getProperties() in groovy?
Solved! Go to Solution.
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.
View solution in original post
Views
Likes
Replies
Like