Close chrome attached process from UFT
Question ID: 108443

We are using UFT 14.03 version, when a test is done, particularly when it fails, there are processes that remain in the Task List for the machine.

The web tests use Chrome.

The processes that are not closing are:

– chrome.exe- cmd.exe- conhost.exe- HP.UFT.Chrome.NativeMessagingHost.exe

Should UFT close some or all of these?

Marked as spam
Posted by (Questions: 26, Answers: 0)
Asked on June 13, 2018 1:09 pm
Answers (1)
Private answer

You can using this line code :

Browser(''browser under testing'').Close()

UFT will close all the process attached to chrome, those are

- Chrome.exe

- HP.UFT.Chrome.NativeMessagingHost.exe

- cmd.exe

- conhost.exe

Please see [KM03174387][1] for more details.


Several applications such as other browser like firefox uses the process cmd.exe , and conhost.exe. UFT will only close the process that are attached to chrome.


Marked as spam
Posted by (Questions: 0, Answers: 27)
Answered on June 13, 2018 1:19 pm

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top