Working with sensitive text in Katalon Studio
Katalon Studio supports text encryption directly inside the test script. This feature is helpful in case the project team needs to share tests containing sensitive information with other team members or key stakeholders. There are two ways to leverage this feature: in Manual view and Script view.
In manual view
- Open your desired test case in manual mode.
- Click Add and select the
Set Encrypted Textbuilt-in keywords. To learn more about this keyword, see [WebUI] Set Encrypted Text.
- In the
Set Encrypted Texttest step, double-click on the Input field. The Input dialog appears to help you encrypt any raw text.
- Double-click on the Value field. Enter the Raw Text. The Encrypted Text is generated accordingly.
- When you are done, click Insert. The Encrypted Text then closes. In the Input dialog, you can now see the Value is added. Click OK.
In script view
Raw text must be encrypted before using in Script Mode.
- Open your desired Katalon project.
- In the main menu, go to Help > Encrypted Text. The Encrypted Text dialog appears.
- Enter the Raw Text. The Encrypted Text is generated accordingly.
- When you are done, click Copy and Close.
- Open your test case in script mode, paste the encrypted text as a param of the
setEncryptedTextbuilt-in keywords. To learn more about this keyword, see [WebUI] Set Encrypted Text.For example: