EncryptionMngr Object
Relevant for: API testing only
Description
Accesses UFT One API testing's encryption mechanism to enable you to encrypt or decrypt strings (such as passwords).
Syntax
this.<activity>.Context.EncryptionMngr.<supported method>
Supported Methods
-
Decrypt
-
Encrypt
Example
string plainText = "myPassword";
string encryptedText = this.StServiceCallActivity4.Context.EncryptionMngr.Encrypt(plainText);