Forum Discussion

APERRY's avatar
Occasional Contributor
4 years ago

Remove project custom properties with TestRunner

Hello everybody,


I'm looking for a solution to remove custom properties from my project. 

Indeed, during an execution with the TestRunner, I save data in project custom properties and I would like delete them with a script.

This bellow script work fine when I play it with the Test Case execution, but not with the Test Runner Execution : {
if ([it.key].name == 'XRAY-ID'){'On ne fait rien')
else {
if ([it.key].name.contains('P_') == true){

This script is positionned in a Script Test Step.


Do you have an idea ?


Thank you in advance for your help,



  • What is your use case.?
    If the project is run from commandline, and the property is created dynamically, then you don't have to remove it manually unless if you are using option "-s".

4 Replies