Ask a Question

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

SOLVED
Sanghamitra
New Contributor

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
Marsha_R
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.  


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

3 REPLIES 3
Marsha_R
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.  


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

hkim5
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
sonya_m
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

cancel
Showing results for 
Search instead for 
Did you mean: