Forum Discussion
rutwij89
Occasional Contributor
nmrao Thanks for your reply. I want to remove just the property values and I want to remove them all levels (project, testsuite, testcase, call)
nmrao
7 years agoChampion Level 3
Thank you for your question. Felt somehow the question is interesting.
Here is what it is:
- It is script, and best fit is to use it in Save Script at Project level. That means, the code is natural fit here as you want to save the project before giving to whom so ever by clearing the property values. So, copy the provided script into Save Script at Project level. As name says all, the script gets executed automatically when the project is saved.
- The next question would be "I am working on this project and wish this script to be run on demand only, not just on saving the project".
- Don't have to worry if you just run the script based on some condition.
- Say, define Project level property CLEAR_PROPERTIES and set its value as false while you are working on the project. It won't clear your data though the project is saved any number of times.
- Once the project is ready and you want to provide it to different parties and that's when you need to clear those data. Now, just change the CLEAR_PROPERTIES value to true. And save the project. And see the magic!!
Here is the script:
Related Content
- 10 years ago
- 4 years ago
Recent Discussions
- 5 days ago
- 10 days ago