How to encrypt information while testing in Test Studio?

Let us assume that you are doing automated test of login functionality. While executing the test you want to encrypt the Password information provided by the user to authenticate. Test Studio allows you to encrypt the vital information in the test steps.

Suppose you have recorded a login test as following. If you see in step 4 password is displayed in the plain text.



If you want to encrypt this information select the step and open the property. Open the property window for enter password step and navigate to Behavior tab. At the top of property window you can verify that for which step property is open. You see that Encrypt behavior value is set to false.



To encrypt the password you need to change value of Encrypt to true.


After changing this value when you navigate back to test steps, you will find password has been encrypted


So in this way you can encrypt vital information while executing the test. I hope you find this post useful. Thanks for reading.


One thought on “How to encrypt information while testing in Test Studio?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.