Ask a Question

Lauch Group of Keyword Tests from CMD

SOLVED
egiacomi
Contributor

Lauch Group of Keyword Tests from CMD

Hi,

I want to launch a group of keyword Test like this : 

 

GROUP.PNG

 

I want to run all the test in a single call , without a cycle that iterates all the tests contained in a group .

 

Do you know any solution to solve this problem?

 

Best Regards

 

Emanuele

10 REPLIES 10
Marsha_R
Champion Level 3

Are you trying to launch every test at the same time?  What is it you are trying to accomplish with this?  We need more details to be able to give you a good answer without guessing.

I want to execute all the tests contained in a folder , to do this i want to use only one cmd call :

example :  C.\TestComplete.exe ...... FolderName 

 

I Don't want to use a solution like this :

Foreach(test in folder)

{

       C:\TestComplete.exe .... KeywordTest|FolderName |test1

}

 

 

It is possible?

 

Emanuele

Do you want all the tests to start at the same time or are you just avoiding a loop for some reason?  Tell us what the point is of doing it with one folder?

I want to avoid a loop

You can use TestExecute to run a set of tests that you have enabled in a project by just naming the project.

 

https://support.smartbear.com/testexecute/docs/running/automating/command-line/command-line.html

 

/run (or /r) - Commands TestExecute to run tests provided by the opened project suite, project, a project item, or a script routine. The action TestExecute will perform depends on what other command-line arguments are specified:

No other arguments specified

TestExecute will run the tests provided by the opened project suite.

/project:project_name

TestExecute will run all enabled test items of the specified project. Project_name is the name of the project as it is shown in TestComplete Project Explorer panel. You can view the list of test items in TestComplete, on the Test Items page of the project.

TestExecute will run only the enabled test items, it will not run the disabled items.

TanyaYatskovska
SmartBear Alumni (Retired)

Thanks for the help, Marsha!

 

@egiacomi, is this what you were looking for?

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



no, I resolved this  problem with another solution .

 

Best Regards

Emanuele

TanyaYatskovska
SmartBear Alumni (Retired)

I'm glad to hear this. Do you mind sharing the solution with us? I'm sure it will help other community members in the future.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



To launch a partial part of the project i changed within a script the .MDS file, I set true only the folder of test that i want to launch .

What do you think about this solution ?

 

Emanuele

cancel
Showing results for 
Search instead for 
Did you mean: