It's all about the answers!

Ask a question

Is it possible to mask execution variables in the Test Results?


Maria Amalan (784366) | asked Mar 22 '17, 5:29 a.m.

 My Scenario is as follows:

  1. I have an automation testcase and testscript
  2. I am using the command line adapter to call the RFT script from my testcase
  3. I am passing 2 dynamic execution variables to the script - username and password
  4. My automation script runs successfully and updates the results back to RQM
  5. In RQM, I have the Execution Results displayed.
  6. When I go to the Execution Variables section, I can see the execution variables that were passed to my script along with the values dynamically given.
Issue: This is where I have a problem. Users pass confidential information to the script and the same gets displayed in the execution result for all to see. I want to know if it is possible to maybe mask the password or not display it at all. Any help would be appreciated. Thanks.

3 answers



permanent link
Ara Masrof (3.2k15) | answered Apr 10 '17, 10:05 p.m.
JAZZ DEVELOPER

Currently I don't believe there is  way to mask Execution Variables
There was an Enhancement request submitted some time back , but  the submitter never followed up with the development team

Option to Mask an Execution Variable

I would recommend submitting a new enhancement request in order to get this functionality in a future release


permanent link
Subhajit Bhuiya (6222) | answered Apr 11 '17, 4:37 a.m.
JAZZ DEVELOPER

 One option is to mask it from the script itself like


echo PASSWORD=* >> "%qm_ExecutionVariablesFile%"

once you are done with the password


permanent link
Maria Amalan (784366) | answered Apr 11 '17, 5:56 a.m.

Thanks Ara and Subhajit for your responses.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.