How to encrypt passwords in the build.xml ant junit task in devtest

Document ID : KB000108160
Last Modified Date : 30/07/2018
Show Technical Document Details
 Is there a way to use encrypted password values in the build.xml when Devtest tests are executed via junit ant task?
To encrypt password,
In the files where junitlisa is to be run, add the following two properties lisa.ant.junit.user and lisa.ant.junit.password thus

The password will be encrypted upon first use. Then, in the build.xml, modify the user and password values with
user="lisa.ant.junit.user" and password="lisa.ant.junit.password_enc"