cancel
Showing results for 
Search instead for 
Did you mean: 

delete project level custom property

Highlighted
Contributor

delete project level custom property

Hi

 

I added a custom property into project level properties using testRunner.testCase.testSuite.project.setPropertyValue() method.

I am not able to delete it manually from the environments tab.

How can I delete this? 

2 REPLIES 2
Highlighted
Frequent Visitor

Re: delete project level custom property

having added properties multiple times with 

   

testRunner.testCase.testSuite.project.addProperty ("mPropertyName")

I ran the same problem.

 

Running the command

 

testRunner.testCase.testSuite.removeProperty( "myPropertyName" );

doesn't help - the number of custom properties in my environment remains unchanged.

 

Removing the properties manually doesn't work - I get a pop up asking me to confirm "Remove the selected properties?" and when I click on "Yes" nothing changes (seems to be a bug, please correct me if I am wrong)

 

Trying to export the properties yields an error message - it says "No properties to save!" (?)

 

If I create a single, new property, run the export and then an import with the option "Delete remaining" checked, nothing changes. (this process seems to be buggy, or I am missing some point)

 

 

The only solution I could come up with so far was to rename the environment, create a new environment with the old name and then removing the old, renamed environment, which is very cumbersome.

 

Getting desperate... any help on this would be MUCH appreciated

 

Highlighted
Community Hero

Re: delete project level custom property

Which version of readyapi are you using?


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Check out this week's challenge!

Create a script to generate an email when an assertion fails for the TechCorner tag!


Scripts created in July:
- A script to change the request body before sending it to the server