AnsweredAssumed Answered

[DevTest Automation - Test Execution] Is there a way to use encrypted password values in the build.xml when Devtest tests are executed via junit task

Question asked by saranya_7290 on Jul 25, 2018
Latest reply on Jul 26, 2018 by saranya_7290

Given below is the sample junit task defined within build.xml for devtest execution via ant script.

 

<target name="lisaTests" description="Executes a LISA Test Suite as JUnit tests for Lis9">
    <!--<delete dir="${testReportDir}" /> -->
    <mkdir dir="${testReportDir}" />
    <junitlisa toDir="${testReportDir}" registry="${registry}" config="${PROJ_HOME}/Configs/project.config" user="abc_user" password="abc">
      <jvmarg value="-Dlisa.tmpdir=${LISA_TEMP}" />
      <lisatest test="${PROJ_HOME}\Tests\Regression_Scripts\xxxxx.tst" stagingDoc="${PROJ_HOME}/Tests/StagingDocs/Run1User1Cycle.stg" />
    </junitlisa>
  </target>

 

In the highlighted field is there a way to pass encrypted value rather than giving the actual password value itself.

 

Please suggest!

Outcomes