Forum Discussion

slecault's avatar
slecault
Contributor
10 years ago
Solved

TestExecute - commandLine - Group of tests

Is there a way to start a group of tests with TestExecute via command line (DOS)?

see image, I would like to TestExecute only the circled keyword tests.

 Clipboard01.jpg

 

I have tried many attempts without success (reading both documentation and some threads)

 

 

 

TestExecute.exe "c:\TC\web\WebSuite\WebSuite.pjs" /r /p:TestWeb /t:"Group1|Start|Renouvellement|Test1" /exit
---------------------------
TestExecute
---------------------------
Invalid command line. The test 'Group1|Start|Renouvellement|Test1' was not found in the project 'TestWeb'.
---------------------------
Help   OK   
---------------------------


TestExecute.exe "c:\TC\web\WebSuite\WebSuite.pjs" /r /p:TestWeb /t:"Test1" /exit
---------------------------
TestExecute
---------------------------
Invalid command line. The test 'Test1' was not found in the project 'TestWeb'.
---------------------------
Help   OK   
---------------------------


TestExecute.exe "c:\TC\web\WebSuite\WebSuite.pjs" /r /p:TestWeb /t:"ProjectTestItem1" /exit
---------------------------
TestExecute
---------------------------
Invalid command line. The test 'ProjectTestItem1' was not found in the project 'TestWeb'.
---------------------------
Help   OK   
---------------------------

TestExecute.exe "c:\TC\web\WebSuite\WebSuite.pjs" /r /p:TestWeb /t:"Group1|Start|Renouvellement|ProjectTestItem1" /exit
---------------------------
TestExecute
---------------------------
Invalid command line. The test 'Group1|Start|Renouvellement|ProjectTestItem1' was not found in the project 'TestWeb'.
---------------------------
Help   OK   
---------------------------

TestExecute.exe "c:\TC\web\WebSuite\WebSuite.pjs" /r /t:"Group1|Start|Renouvellement|ProjectTestItem1" /exit
--- Runs everything...

TestExecute.exe "C:\TC\Web\WebSuite\TestWeb\TestWeb.mds" /r /t:"ProjectTestItem1" /exit
--- Runs everything...

TestExecute.exe "C:\TC\Web\WebSuite\TestWeb\TestWeb.mds" /r /t:"KeywordTests - Test1" /exit
--- Runs everything...

TestExecute.exe "C:\TC\Web\WebSuite\TestWeb\TestWeb.mds" /r /t:"TestWeb|Group1|Start|ProjectTestItem1" /exit
--- Runs everything...

TestExecute.exe "C:\TC\Web\WebSuite\TestWeb\TestWeb.mds" /r /t:"KeywordTests|Test1" /exit
--- Runs everything...