cancel
Showing results for 
Search instead for 
Did you mean: 

Batch file command do not delete TestExecute process running last time

SOLVED
Highlighted
Super Contributor

Batch file command do not delete TestExecute process running last time

We are using batch file to run our TestComplete Tests on TestExecute machine . Attached below here is the batch file. We have already included the command to check whether testExecute process is running . if it isrunning then it should kill before starting new tests.

 

It is not working any more . 

 

I have manually opened the TestExecute . Then I ran the batch file . But it do not kill the TestExecute process and no tests get started.

 

Any idea what is missing here.

 

Nishchal

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: Batch file command do not delete TestExecute process running last time

As far as I can see, the issue was solved by reinstalling TestExecute - I checked the support case. Let me mark this workaround as a solution here.


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

View solution in original post

9 REPLIES 9
Highlighted
Community Leader

Re: Batch file command do not delete TestExecute process running last time

I use these lines for myself:

 

REM Check if an instance is on memory, if not go directly to run, if yes kill this instance

tasklist | find "TestExecute.exe" /C /i > nul
if ERRORLEVEL 0 goto Start1
taskkill /f /im TestExecute.exe
timeout 3

 

 

 

Un sourire et ça repart

Highlighted
Super Contributor

Re: Batch file command do not delete TestExecute process running last time

@BenoitB 

 

What is Start1 ?

Highlighted
Community Leader

Re: Batch file command do not delete TestExecute process running last time

a label.
So if no instance detected it go directly to the line labelled Start1 in the batch file

Un sourire et ça repart

Highlighted
Super Contributor

Re: Batch file command do not delete TestExecute process running last time

@BenoitB 

I think we cannot use here. seem like process name has been changed . Attached is the screenshot.

 

Highlighted
Super Contributor

Re: Batch file command do not delete TestExecute process running last time

Look like TesExecute.exe process name get change to TESTEX~1.exe 

Dicussed the issue with support team , they have asked me to repair the TestExecute but it did not work . After that they have no idea what causes this name change ?

Finally I tried to uninstall and install the fresh TestExecute and then the correct name appears . Not sure how the name chanes, 

Now I am concerned if the name change may occur in the future as support team do not know what causes this issue ?

Highlighted
Community Hero

Re: Batch file command do not delete TestExecute process running last time

Hi,

 

Look like TesExecute.exe process name get change to TESTEX~1.exe 

As a wild guess: the name change looks like the old DOS name. Would you mind to talk to your IT department and wonder if they ever heard about something like that been caused by some OS system setting/update/etc. ?

 

Regards,
  /Alex [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
================================
Highlighted
Community Leader

Re: Batch file command do not delete TestExecute process running last time

Like a 32bits os and not 64 bits ?

Un sourire et ça repart

Super Contributor

Re: Batch file command do not delete TestExecute process running last time

I am waiting for support teeam . It is 64 bit TestExecute 

Highlighted
Community Manager

Re: Batch file command do not delete TestExecute process running last time

As far as I can see, the issue was solved by reinstalling TestExecute - I checked the support case. Let me mark this workaround as a solution here.


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

View solution in original post

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

Compare images using the Region Checkpoint

See replies!

Converting UTC TimeDate in an Excel file

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