Forum Discussion
If the inputs are static, then what is the use?
I believe each test case must be passing some values to "run test case" step. Isn't it?
As I wrote .. I have a lot of tests.. Now.. when action is repeated often.. then I am developing reusable test case (like for data preparation - submit some batch of requests or check data by the same way, just other regexp patterns).
So I have 100 tests which are calling this reusable test (for data preparation or check the assertions in LOG file). So each of this 100 tests haves input values statically defined.. I need to commint them in to VCS.
BUT the target test produce some output propertie.. which I can use in parent test (one of the 100) mainly the output can be like decrypted data, produced some complicated input for my test.
So this I dont want to commint to the VCS (GIT).
In my 100 parent tests I have some properties - a lot of them is runtime (just for debuging, reusing in multiple test steps). This I am cleaning in my script. WHEN in my test is some property, which I need to have in static, then this porperty name is using hash in property name as prefix.
Now.. the target tests are cleared as well.. because is in test case leve.. All is OK..
BUT the calling the reusable test case the RUN TEST CASE STEP is not cleared. I can get property value, I can even clean them .. BUT I can not distinguish, if is input or output.
If this is not clear.. then I dont know..
Question is simple:
how to get idea, if the property is output one for the test step Run test case..
Nothing else.
- vikititor4 years agoContributor
If is top secret.. then dont provide the help..
I can report the enhancement for ReadyAPI.. but a lot of enhancements reported.. and nothing added..
I dont expect, that smarbear will develop and add some chck box..
So in the end.. I will check tons of rows during commint again and again.. to avoid, that I am commiting some runtime ourput properties..
- nmrao4 years agoChampion Level 3I couldn't follow the above long read.
Here is the solution provided in this topic. You can try it
https://community.smartbear.com/t5/API-Functional-Security-Testing/Solution-Script-to-Cleanup-of-Custom-property-values-in-the/m-p/198108#M45275
If needed any modifications, then it can be done.