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).

Back to top

Syntax

this.<activity>.Context.EncryptionMngr.<supported method>

Back to top

Supported Methods

  • Decrypt

  • Encrypt

Back to top

Example

string plainText = "myPassword";
string encryptedText = this.StServiceCallActivity4.Context.EncryptionMngr.Encrypt(plainText);

Back to top