I'm currently trying to 'clean up' custom properties from a SOAP UI test case, using groovy script.
From this other post, I tried to do so but I'm facing a problem : I can't access the removeProperty
method.
I get my data :
data = context.testCase.testSuite.getTestCaseByName("Test multi TT");
and from it I can only use a removePropertyChangeListener
method.
I tried to use data.getPropertyAt()
function to get a suitable object but it does not return the correct data class.
How can I get a PropertyChangeListener parameter from my custom property that I could use to remove it programmatically ?
All the posts I've been through provide answers with removeProperty
and I can't find any that mentions removePropertyChangeListener
any help appreciated
EDIT: Based on the discussion over chat with OP, OP wants to remove the existing properties and add properties from external file to test case level custom properties.