How to encrypt a password to encrypted in script

Before hitting that Ask the Community button, make sure to:

How to encrypt a password to encrypted in script, for example, if my password is pwd123, I need to write it as encrypted in my test case script, how do I convert?

2 Likes

if you use the katalon recorder to make your script, then ‘password’ fields should automatically have their input encrypted with the keyword ‘setEncryptedText’
if you manually add the keyword ‘setEncryptedText’ then any attempt to set the String value for that keyword will give you a popup to convert plain text to encrypted text, which you can then copy to store somewhere else

1 Like