Encrypt password sensitive strings that are plain text to avoid security issues.
-
In the menu, select
.
The
Password Encoder dialog appears.
-
Type the string to be encrypted into the
Password field.
The encrypted password is displayed in the
Encoded string field.
-
Click
Copy to Clipboard and Close to copy the encrypted password to the clipboard and to close the
Password Encoder dialog.
-
Change the appropriate code lines in your test scripts.
Note: You can also encrypt a string in code by using the
Desktop
Encrypt method. Encrypted strings can be decrypted using the
Decrypt method.
Note: Silk Test uses a default algorithm for encryption. You can customize the used algorithm and key by adapting the file
encryption.properties.sample, which is located in
%APPDATA%\Silk\Silk Test\conf. Detailed information about the properties is available directly within the properties file. To activate your customized
algorithm, close
Silk Test, shut down the OpenAgent using the tray icon menu, rename the properties file from
encryption.properties.sample to
encryption.properties, and restart
Silk Test.