Using safe, generic accounts for testing is a boon; however, sometimes that’s simply not possible. Corporate policies may prevent “fake” accounts, or perhaps the test accounts have access to sensitive areas. In these cases it’s critical you’re able to secure the logon credentials.
Test Studio’s Service Pack 2 for our 2012 R1 release now enables you to securely encrypt passwords in your tests with just a simple click.
Here’s how a test logging on to our demo app looks. You can see the password is stored in clear text in the test:
The password is also stored in clear text in the XML for the test file itself:
Encrypting the password is a snap. Select the step with the password, and pull down the Encrypt property. Set it to True and save the file. (NOTE: Changes are not persisted to your test’s XML file until you save the test!)
You’ll see the test step update to remove the clear text.
The backing XML information is also now encrypted:
A few important notes:
We hope you find this new feature useful in your testing!