Closes all processes opened by QTP/UFT.
Syntax –
object.CloseDescendentProcesses
Example –
Sub CloseDescendentProcesses_Example() ’Suppose that the Record and Run dialog box opens a Windows ‘Explorer window at the beginning of a test run, and then the ‘statement below opens a Notepad window. In this case the message ‘box statement below displays 2. SystemUtil.Run "Notepad.exe" MsgBox SystemUtil.CloseDescendentProcesses End Sub
If you want to keep track of further articles on UFT (QTP). I recommend you to subscribe by email below and have new UFT articles sent directly to your inbox.
Leave a Reply