Service Virtualization

Expand all | Collapse all

[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

Jump to Best Answer
  • 1.  [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

    Posted 07-25-2018 02:23 AM

    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!



  • 2.  Re: [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
    Best Answer

    Posted 07-25-2018 10:34 AM

    Please open a support case for this.



  • 3.  Re: [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

    Posted 07-25-2018 09:24 PM

    Thank you Marcy. Sure will do.