A customer had a question - is there a way to suppress the DoSetText or DoSendkeys methods from sending their text to the logs. They didn't want users to see this text in the Rapise (and SpiraTest) logs because they contained sensitive information (e.g.  passwords).

Solution - Quiet Methods

When you have this situation and you need to protect sensitive information that you don't want being recorded in the Rapise logs or uploaded to SpiraTest's enterprise test management portal, you can use the private 'quiet' versions of the methods instead.

So, instead of using the public methods:

SeS('obj').DoClick(); // clicks and writes to the log

Instead, each method has a "_" counterpart with silent behavior, i.e.:

SeS('obj').DoClick(); // clicks and writes to the log
SeS('obj')._DoClick(); // clicks, but does not write to the log.

This is true for all object methods (SeS('obj').DoSendKeys, SeS('obj').DoSetText and so on).


Attachments

Selected files will be attached to any email sent on saving ticket.

file selected files selected  () Delete Selected

  • Created:
  • by:

Select files to upload

Or drag and drop files here

Uploading …
Done!
Upload More?
There was an error.
Try again?

Save to upload the selected file(s)

Article Info
  • Last Updated: 1/25/2017
  • Article ID: KB233
  • Views: 484