Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
I'm not sure what you're expecting when you're running the TestComplete application at a command line. Automated tests in TestComplete must use one of the two applications, TestComplete or TestExecute, to execute the automation. The automated projects are not "compiled" applications that run stand alone, they require the engines within those two tools. I really don't understand how you would run a test using TestComplete without running either the TestComplete program OR the program being tested.
All "SilentMode" does is make sure that, as the automation is running, no prompts or dialogs from the automation tool are displayed.
As for Excel, if you are instantiating Excel objects within your automation, especially Excel.Application, this will start an Excel process in Windows. Again, it's a matter of the object being created requires the process.
I guess it's a matter of trying to figure out what you are trying to achieve? Why do you need to run the tests in this manner? What are you looking at being able to do in this fashion that does not work with TestComplete or Excel running?
All "SilentMode" does is make sure that, as the automation is running, no prompts or dialogs from the automation tool are displayed.
As for Excel, if you are instantiating Excel objects within your automation, especially Excel.Application, this will start an Excel process in Windows. Again, it's a matter of the object being created requires the process.
I guess it's a matter of trying to figure out what you are trying to achieve? Why do you need to run the tests in this manner? What are you looking at being able to do in this fashion that does not work with TestComplete or Excel running?