Password Encoder Tool
Relevant for: GUI actions and components
Use the Password Encoder to encode passwords before entering them in UFT One. You can encode passwords using the Password Encoder GUI or by running CryptonCMD.exe from a command line.
When to use encoded strings
You can use encoded strings in the following situations:
Use as method arguments or data table parameter values (enabling you to place secure values into the data table)
Use as operation arguments
For example, your Web site may include a form in which the user must supply a password. You may want to test how your site responds to different passwords, but you also want to ensure the integrity of the passwords.
|For a remote desktop connection||
Encode the password that you configure in UFT One for a remote desktop connection to the UFT One computer. These credentials are configured in Tools > Options > General > Run Sessions or in an automation script.
Password Encoder graphical user interface (GUI)
Do one of the following:
|Important information for Business Process Testing||
Use only if you are working with Quality Center.
If you are working with ALM, you must encode passwords in ALM. Otherwise, during a run session, encoded strings are treated as plain text. For details on encoding, see the Business Process Testing User Guide.
Caution: The Password Encoder does not use a global standard for encryption. It is not considered nor intended to be secure.
Its purpose is only to ensure that passwords will not be readily visible on the screen while recording, editing or running a test or component.
If you are using real customer data or other sensitive information, you should take additional steps to ensure the security of that data.
For tests: You can also encrypt strings in Data pane cells using the Encrypt option in the Data menu. For details, see Data Pane (GUI Testing).
Password Encoder command line interface (CLI)
To encode a password using the CryptonCMD.exe command:
<UFT One installation folder>\bin\CryptonCMD.exe -e <String to encode>
The command encodes the password using the SetSecure option, creating strings to use in step parameters or data table values.