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 DiscussionsAI-based API test generationSolvedChange the UI style of ReadyAPi 4.0?JDBC fails with "org.apache.xmlbeans.impl.values.XmlValueDisconnectedException" error in TestEngine
Related ContentDelete Project Level Properties With Specific Name After ExecutionService name property from project propertyRandom Date Project Property