Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
This is how you do it:
A tips is to have a look at the Script is invoked with... text in the upper-right corner of all script fields. If any of those variables are unknown to you, you can put a log.info variableName in the script to get the class name printed to the script log. Then you can search for the class name in the SoapUI API for information about what you can do with it.
Regards
Henrik O
SmartBear Software
This is how you do it:
projectPath = testSuite.project.getPropertyValue("projectPath")A tips is to have a look at the Script is invoked with... text in the upper-right corner of all script fields. If any of those variables are unknown to you, you can put a log.info variableName in the script to get the class name printed to the script log. Then you can search for the class name in the SoapUI API for information about what you can do with it.
Regards
Henrik O
SmartBear Software