cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to invoke/execute Test Complete test cases from Command prompt?

SOLVED
Highlighted
Occasional Visitor

Is it possible to invoke/execute Test Complete test cases from Command prompt?

Hi Team,

Sanghamitra here.

I have provided my queries below.

Query:

-Is it possible to invoke/execute Test Complete test cases from Command prompt?

I have already tried one but did not work out:

-Open the command prompt

-provided the project path in command prompt as below

      Testcomplete.exe "C:\Projectpath\test.pjs"  /r /e

Problem facing after this:

I have 2 versions installed in my machine(Testcomplete 12 &14)

When I started from command prompt , by default test complete 12 is launching but I want to execute either one option , it may be 12 or 14..How I can achieve that.

It is very importance and priority  task .

Please suggest me to find the solution to get done. If required or it is not clear ,please call me

 

Regards,

Sanghamitra

mob:8939495511

 

 

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Is it possible to invoke/execute Test Complete test cases from Command prompt?

Here's how to run TestComplete from the command line

https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/...

 

An alternative is to use TestExecute to run your test

https://support.smartbear.com/testexecute/docs/index.html

 

Getting a different version to run will probably be a matter of running the command line prompts from inside each version's directory.  

View solution in original post

3 REPLIES 3
Highlighted
Community Hero

Re: Is it possible to invoke/execute Test Complete test cases from Command prompt?

Here's how to run TestComplete from the command line

https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/...

 

An alternative is to use TestExecute to run your test

https://support.smartbear.com/testexecute/docs/index.html

 

Getting a different version to run will probably be a matter of running the command line prompts from inside each version's directory.  

View solution in original post

Highlighted
Staff

Re: Is it possible to invoke/execute Test Complete test cases from Command prompt?

as @Marsha_R stated, just specify the full path of the testcomplete executable that you want to run with:

C:\Program Files (x86)\SmartBear\TestComplete 14\x64\Bin\TestComplete.exe (for version 14 etc.)

Best,
Justin Kim
Highlighted
Community Manager

Re: Is it possible to invoke/execute Test Complete test cases from Command prompt?

Marsha and Justin, thank you!

 

@Sanghamitra does this solve it for you?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors