Forum Discussion
nmrao
4 years agoChampion Level 3
Please try if the below helps.
NOTE: I couldn't test.
By the way interested to know what the use case? How often these are cleared?
def project =testRunner.testCase.testSuite.project
def removeCrypto = { container -> container.each { project.wssContainer.removeCrypto(it) } }
removeCrypto(project.wssContainer.cryptoList)
removeCrypto(project.wssContainer.incomingWssList)
removeCrypto(project.wssContainer.outgoingWssList)
- nmrao4 years agoChampion Level 3By the way, once the statement at line 3, executed, there may not be anything in either incoming or outgoing.
- Claudiu_Adam4 years agoOccasional Contributor
I am calling the code from test step level..
removeCrypto accepts as parameter a WssCrypto not a list ..
- Claudiu_Adam4 years agoOccasional Contributor
any other ideas? thx
Related Content
- 2 years ago
- 6 years ago
- 8 years ago
- 5 years ago