Ask a Question

TestComplete command line problems

SOLVED
rec3
Occasional Contributor

TestComplete command line problems

I have written come python scripts to call TestComplete as a part of the CI system I am building. I then installed Test Complete on a remote machine and am having problems understanding why TestComplete is trying to open TestComplete.exe. Is this a bug or am I just missing something obivious? I never encourtered this on my local machine.2019-05-22 13_37_57-TestComplete.png

14 REPLIES 14
tristaanogre
Esteemed Contributor

What if you run TestComplete.exe at a standard Windows command prompt and not in Powershell?  Does that make a difference?


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

Strange. That did work. Any idea why?

tristaanogre
Esteemed Contributor

Honestly... I don't know.  It just seemed like something to try, in case there's something specifically in the PowerShell environment that triggers opening anything as a project.


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
Bobik
Frequent Contributor

I've reproduced the issue on my side.

Try use "Start-Process TestComplete.exe". Also if you need to use some parameters read help info for PowerShell "Start-Process" command.

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-process?vie...

 

 

rec3
Occasional Contributor

This did work. Thank you!

 

I did figure out why it was having problems when I switch to a different computer. I was opening TestComplete with the subprocess Python libary and on the first computer Python was installed for just the user and on the second it was installed for the whole computer.

cancel
Showing results for 
Search instead for 
Did you mean: