Forum Discussion

Ravik's avatar
Ravik
Super Contributor
11 years ago
Solved

Not able to run test script through batch file

I want to create a batch file wherein I would be able to run the whole test clicking on that batch file. I tried the following code but then it's getting stuck on the the step to recognize the script ...
  • karkadil's avatar
    11 years ago
    Hi Ravi,



    I can see at least 2 probkems with your command line:



    1. You miss spaces between command line parameters (/r /P:SNA1 /pi:ProjectTestItem1) - pay attention to the spaces here



    2. You mix project items with test items, but they are completely different items. You can't run a specific Test Item from command line, you need to specify either project name (simply remove the /pi parameter) or a certain routine (i.e. function or procedure name).