how i can delete the excel process for the task manager
using QTP

Answers were Sorted based on User's Feedback



how i can delete the excel process for the task manager using QTP..

Answer / rico

SystemUtil.CloseProcessByName("excel.exe")

Is This Answer Correct ?    13 Yes 1 No

how i can delete the excel process for the task manager using QTP..

Answer / ray

SystemUtil.Run "taskmgr"
Dialog("Windows Task Manager").WinListView
("SysListView32").Select "EXCEL.EXE"
Dialog("Windows Task Manager").WinButton("End
Process").Click
Dialog("Windows Task Manager").Dialog("Task Manager
Warning").WinButton("Yes").Click

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More QTP Interview Questions

Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.

1 Answers  


what is mean by soi in object identification

1 Answers  


How you perform smoke and sanity testing using qtp?

1 Answers   Tech Mahindra,


how to identify an object which is not in the object repository identification can be done using descriptive programming.

2 Answers  


hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls.......

2 Answers   Vertex,






can any one tell me the script to click on a button in the wintoolbar.

1 Answers  


what is the difference between testing and debugging?

2 Answers  


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

0 Answers   Livetek, NIIT,


In Test Director , You can store Test cases or vb Script . Why we need VSS?

2 Answers  


what is description object?

0 Answers  


what is the difference between the modular framework and datadriven frame work

0 Answers  


How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..

1 Answers  


Categories