Service Virtualization

  • 1.  Execution of devtest scripts from command prompt

    Posted Oct 10, 2017 08:38 AM

    #monika mehta 

    Using devtest 8.2 for automation . Would want to know the procedure on how to execute automation scripts from command prompt . Should we use Testrunner commands from LISA_HOME/bin or where the script .tst file is placed?

    I am getting below error when i ran from windows command prompt

     

    Note : I already referred ca site links and Devtest community pages for the same 

     

     



  • 2.  Re: Execution of devtest scripts from command prompt

    Posted Oct 10, 2017 08:46 AM

    Hello Rajeswari,

     

    From screen shot, it seems you are not able to connect with registry. I think it is seeking for user name and password to connect with it.

     

    Can you pass user name and password in command , then try?

     

    like TestRunner -u <username>  -p <password> --testCase <Sample.tst>

     

    Please check.

     

    Cheers..

     

    Shivam Garg



  • 3.  Re: Execution of devtest scripts from command prompt
    Best Answer

    Broadcom Employee
    Posted Oct 10, 2017 10:42 AM

    Test Runner - DevTest Solutions - 8.2 - CA Technologies Documentation 

    TestRunner [-h] [[-u username] [-p password] [-r StagingDocument] [-t TestCaseDocument] [-cs CoordinatorServerName]] | [-s TestSuiteDocument] [-m TestRegistryName] [-a] [-config configurationFileName] [-Dname=value]



  • 4.  Re: Execution of devtest scripts from command prompt

    Posted Oct 10, 2017 11:38 AM

    Hi,

          Please follow the link provided by  Shiney Abraham,the command you are trying to run is missing the Registry and also credentials to authenticate.