08-06-2010, 07:48 PM
Hi,
During test batch execution the application is not closed,then it remains opened & second instance of the application invoked. Therefore multiple instances may be opened & batch execution fails.
Is there any way in QTP to find the total no. of "Application Under Test" instances are opened?
I know how to close the multiple instances. Use following command for it.
SystemUtil.CloseProcessByName("Notepad.exe")
Thanks in advance.
Dinesh
During test batch execution the application is not closed,then it remains opened & second instance of the application invoked. Therefore multiple instances may be opened & batch execution fails.
Is there any way in QTP to find the total no. of "Application Under Test" instances are opened?
I know how to close the multiple instances. Use following command for it.
SystemUtil.CloseProcessByName("Notepad.exe")
Thanks in advance.
Dinesh