Step 1: Record login scenario

Step 2: Encrypt password

Click on the cell with encrypted password and press Ctrl-Cto copy the value into clipboard.

Step 3: Use encrypted password

Update recorded steps with encrypted password. Note that in line 8 we use LastResultvariable that holds the value returned from Global.DoDecryptaction. We also set the password with _DoSetTextinstead of DoSetText to avoid printing the plain value into the report.

We put the sample test to our GitHub repository. It contains both RVL and JavaScript (described below) versions of the Encrypt/Decrypt scenario.