cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete command line problems

SOLVED
Highlighted
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
Highlighted
Community Hero

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

Strange. That did work. Any idea why?

Highlighted
Community Hero

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

 

 

View solution in original post

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

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors