alibaba82Super Contributor16 years agoDeleting project level properties via load scriptHello,My projects have a bunch of properties which are created at project load script.I want to clean up the project properties during project load.Can I get some help with some groovy code that will delete all the existing project properties (name and values) .ThanksAli
2 RepliesReplies sorted by Most LikedSmartBear_SuppoAlumni16 years agoHi Ali,sure.. tryfor( n in project.propertyName ) project.removeProperty( n )Does that work ok?regards!/Oleeviware.comalibaba82Super Contributor16 years agoLittle typo.for( n in project.propertyNames )works now.Ali
SmartBear_SuppoAlumni16 years agoHi Ali,sure.. tryfor( n in project.propertyName ) project.removeProperty( n )Does that work ok?regards!/Oleeviware.com
Recent DiscussionsCom server permission error on Process.startReuse adapted xml file and send in RESTManaging Failures - New vs. Expected/Known Issues
Related ContentDelete Project Level Properties With Specific Name After ExecutionService name property from project propertyRandom Date Project Property