If you have sensitive or secure information such as passwords and credit card numbers that you would not want to appear either in your test logic or in test reports, you can choose to encrypt the information.
- In your Action logic, instead of Enter Text in Element command, use Enter Encrypted Text in Input Field command. You need to pass encrypted version of the text in this command.
- You can derive the encrypted version of text from Navigator > Resources > Encrypt Text
Here is a sample code logic. Notice the difference between the commented line 2 and line 3 in this example.