want to write a groovy script to locate the component on a page and change the one of the field value in it
I want to write a groovy script where I have to change one of the text field value in the component dialog box
-> I have the paths of the pages where this component has been used
-> the resourceType of component is : /components/content/form/embed
->the text field name that need to be changed is : "formName"
->

->the text field value need to be changed using groovy script
Please help me out I am stuck on the implementation
Thank you