cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 ACCEPTED SOLUTION

Accepted Solutions
TanyaYatskovska
Community Manager

Re: Lauch Group of Keyword Tests from CMD

Hi @egiacomi,

 

Usually, we don't recommend modifying the MDS file. Please take a look at the Run the specified group of test items via TestComplete's command-line KB article.

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

10 REPLIES 10
Marsha_R
Community Hero

Re: Lauch Group of Keyword Tests from CMD

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.

egiacomi
Contributor

Re: Lauch Group of Keyword Tests from CMD

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

Marsha_R
Community Hero

Re: Lauch Group of Keyword Tests from CMD

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?

egiacomi
Contributor

Re: Lauch Group of Keyword Tests from CMD

I want to avoid a loop

Marsha_R
Community Hero

Re: Lauch Group of Keyword Tests from CMD

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
Community Manager

Re: Lauch Group of Keyword Tests from CMD

Thanks for the help, Marsha!

 

@egiacomi, is this what you were looking for?

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
egiacomi
Contributor

Re: Lauch Group of Keyword Tests from CMD

no, I resolved this  problem with another solution .

 

Best Regards

Emanuele

TanyaYatskovska
Community Manager

Re: Lauch Group of Keyword Tests from CMD

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
egiacomi
Contributor

Re: Lauch Group of Keyword Tests from CMD

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

New Here?
Join us and watch the welcome video:
Announcements