Close chrome attached process from UFT
Question ID: 108443
0
0

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
283 views
Answers (1)
0
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.

Note:

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.

[1]: https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/KM03174387

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

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

X
Scroll to Top