Forum Discussion
4 Replies
Sort By
- M_McDonaldSuper ContributorFor a property called prop1 try this:
//show the value
log.info SoapUI.getGlobalProperties().getProperty('prop1').value
// set the value
SoapUI.getGlobalProperties().getProperty('prop1').setValue('new value')
// show the new value
log.info SoapUI.getGlobalProperties().getProperty('prop1').value - SyamalaOccasional ContributorThankyou for your reply...
But still I am facing the problem while executing...I am getting following error.
"groovy.lang.MissingPropertyException:No such property: SoapUI for class:"
Could you please look into it.
Thanks - M_McDonaldSuper ContributorMaybe an import statement at the top of the script:
import com.eviware.soapui.SoapUI
- SyamalaOccasional ContributorYes !! its working now...
Thankyou very much for your help
Syamala
Related Content
- 12 years ago