fardude
5 years agoOccasional Contributor
Service name property from project property
Hi I'm trying to set the service name from the project properties but ${#Project#ENV} doesn't seem to be substituting.
In the project custom properties I have ENV with value.
Is such a thing possible?
Thanks.
I don't think that this is possible by property expansion, if you want to do this than you can do this with groovy script as below
interface1 = testRunner.testCase.testSuite.project.getInterfaceAt(0) interface1.setName("New__Name")
You can apply logic on interface if there are multiple interface in your Project.
Hope this will help you 🙂