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.
Note: The command line is supported in UFT One versions 15.0.2 and later.
When to use encoded strings
You can use encoded strings in the following situations:
In tests |
Use as method arguments or data table parameter values (enabling you to place secure values into the data table) |
In components |
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)
To access |
Do one of the following:
Note: For details on accessing UFT One and UFT One tools and files in Windows 8.X or higher and Windows Server 2012, see Accessing UFT One in Windows 8.X or Higher Operating Systems. |
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. |
Encoding options
|
SetSecure. Encode passwords for use in test or component steps. (Default option, always used in UFT One 15.0 or earlier) RDP. Encode a password for the remote desktop connection, if needed. |
See also |
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)
Supported on UFT One versions 15.0.2 and later
To encode a password using the CryptonCMD.exe command:
Run <UFT One installation folder>\bin\CryptonCMD.exe -e <String to encode>
By default, the command encodes the password using the SetSecure option, creating strings to use in step parameters or data table values.
To use the RDP encoding option and encode a password for the remote desktop connection, add the -t
option with the value RDP
: <UFT One installation folder>\bin\CryptonCMD.exe -e -t RDP <String to encode>