EncryptionMngr 对象

相关项: API 测试

描述

访问 OpenText Functional Testing API 测试的加密机制,允许您加密和解密字符串(如密码)。

语法

this.<活动>.Context.EncryptionMngr.<支持的方法>

支持的方法

  • Decrypt

  • Encrypt

示例

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