Ask a Question

How Can I Execute The Project Suite Without Opening The Test Complete Tool

Ganesh3195
Occasional Contributor

How Can I Execute The Project Suite Without Opening The Test Complete Tool

I want to execute the project suite without help of test complete tool, I using the Vb script in the script unit and i executed the project in test complete successfully, now i try to execute the project externally (without open the test complete), anyway to achieve this? Please suggests any solution!!!  

6 REPLIES 6
tristaanogre
Esteemed Contributor

The short answer: No.

 

The longer answer: You can run tests via command line but it still involves running either TestComplete or TestExecute.  Automation code written within TestComplete utilizes a lot of internal objects of the TEstComplete tool including, but no limited to, checkpoints, name mapping, and aq* objects.  The TestComplete tool is not intended to be an IDE to develop a compiled external executable but to be used as a tool to both develop and execute the tests.

 

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

 

Now, if you want to get REALLY advanced, you can build an application externally in C# or Visual Basic in some other IDE and use TestComplete as a COM server to execute the tests.  But, again, the development of the tests, themselves, are in the TestComplete tool.

 

 

 

 


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Ganesh3195
Occasional Contributor

But When I Try This Method,

     Set wshShell = CreateObject("WScript.Shell")
wshShell.Run("""C:\Program Files\SmartBear\TestComplete 12\Bin\TestComplete.exe"" ""C:\Users\kkr Ganesh\Documents\TestComplete 12 Projects\PYTHON\PYTHON.pjs"" /r /p:NEW /u:python /rt:VariablePartsDemo /e /SilentMode")

 

It Also Open The Test Complete Tool. I don't Like to Open the Test Complete tool Any alternate Way to Achieve to execute the project without open the Test COmplete

As noted, the answer is no.  There is no way of executing the project without executing the tool.  Tests created within TestComplete are intended to execute within the tool.  They are not "stand alone" where you can run them without the tool.

You mention a "security issue" as being the reason.  Can you elaborate? Perhaps there is something else that can be done that will allow you to run the tests without violating your security problem.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Yes that method will always open TestComplete because you told it to run:

Set wshShell = CreateObject("WScript.Shell")
wshShell.Run("""C:\Program Files\SmartBear\TestComplete 12\Bin\TestComplete.exe"" ""C:\Users\kkr Ganesh\Documents\TestComplete 12 Projects\PYTHON\PYTHON.pjs"" /r /p:NEW /u:python /rt:VariablePartsDemo /e /SilentMode")

 

You can use TestExecute to run the tests without the TestComplete UI if you have that license.  


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
Ganesh3195
Occasional Contributor

Can I Execute The Test Complete Project With help of Test Execute? any solution is there? if, there is solution How do Execute The Project? give some suggestion!!!! because,when i try to execute the test complete it will directly open the Test Complete UI. but ,i don't like to execute the Test Complete in Test Complete UI. That's Why i am Asking for this question

TestComplete can be run by using TestComplete and TestExecute.

 

If you have installed both TestComplete and TestExecute, when you double click the Project/ProjectSuite file it will automatically opens in TestComplete. If you want to run your suite thru Test Execute then first follow below steps,

  1. Open TestExecute
  2. Right Click > Open... in the TestExecute icon which will be presented in the task tray
  3. Right Click > Run to run the project/project suite.

Ref: https://support.smartbear.com/testexecute/docs/running/about.html

 


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

cancel
Showing results for 
Search instead for 
Did you mean: