cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete 14 via commandline opens with error

SOLVED
Highlighted
Occasional Visitor

TestComplete 14 via commandline opens with error

When I open TestComplete via command line with or without arguments, it always shows an error: Cannot open the 'C:\Program Files (x86)\SmartBear\TestComplete 14\x64\Bin\TestComplete.exe' file vecause it is not a valid project suite or project file. Of course it is not, this is the path of TestComplete.exe. The right project can not be specified.

When I open TestComplete via .exe file, the error is not shown.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Leader

Re: TestComplete 14 via commandline opens with error

Launching Cmd (even not in Administrator mode)

Typing

"C:\Program Files (x86)\SmartBear\TestComplete 14\Bin\TestComplete.exe"

And TC is opening well.

Don't forget the "" !

 

Does in your TC recent project list an obsolete project is in ?

Un sourire et ça repart

View solution in original post

4 REPLIES 4
Highlighted
Community Hero

Re: TestComplete 14 via commandline opens with error

How are you running the command line?  What tool are you using (Windows scheduler, Jenkins, Powershell...)?

 

The reason I ask is that I've seen this error before when running through certain external tools but the environment isn't properly prepared.


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
Staff

Re: TestComplete 14 via commandline opens with error

If i am understanding you correctly, you are trying to open the actual TC application via starting it through the command line? Is there a particular reason you are going through the trouble of launching the commandline and launching the application by running the executable file with the absolute path?

As you mentioned, it works just fine and the application opens when you double click on the shortcut or on the executable within the file explorer (so there doesn't seem to be an actual NEED to launch the application via the command line?)

Either way, then I'd try using Run, and doing cmd to make sure i launch the command line as an admin, then I'd supply the absolute path of the TC executable and see if the application still does not launch. 

Best,
Justin Kim
Highlighted
Community Leader

Re: TestComplete 14 via commandline opens with error

Launching Cmd (even not in Administrator mode)

Typing

"C:\Program Files (x86)\SmartBear\TestComplete 14\Bin\TestComplete.exe"

And TC is opening well.

Don't forget the "" !

 

Does in your TC recent project list an obsolete project is in ?

Un sourire et ça repart

View solution in original post

Community Manager

Re: TestComplete 14 via commandline opens with error

Thanks Community!

 

Hi @anzhelika_d ! Looks like you received a lot of useful replies, did you try following the suggestions? Did it work for you?


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
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

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

Participate!

Comparing content of HTML table with Excel file data

Participate!

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

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors