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

What is XML checkpoint in QTP. How we can use in Web Based application

2 Answers   LinkEdge,


I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.

2 Answers  


how do u plan test automation?

0 Answers  


how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes

4 Answers   STC,


Which object model is not supported by QTP? a)COM b)DECOM c)DOM d)DCOM. Pls explain about theese object models?

1 Answers  


If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Repository and for the 2nd time it is showing like 7 Objects in the Object Repository why it is happening

4 Answers   Kanbay,


How to find duplicates in an array and remove them efficiently?

2 Answers  


How Exactly we can find out the INDEX No. of any object of an application when we test that application in QTP? Explain this by giving me the example of all LINKS of G-Mail (including home page, User-account page and all possible pages you ever seen in G Mail)?????? and if your answer is that as per appearance of objects(LINKS) in application we can find out the index number in application then tell me how you find out which object(LINK) having INDEX No. 1,2,3 and so on and how you say which object(LINK) is appeared first and which is last?

4 Answers   Infosys,


can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???

0 Answers  


I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm? I used the add fn also..

3 Answers   BirlaSoft,


OPening of notedpad in QTP to write and execute the coding?

2 Answers  


What is the extension of script and object repository files?

4 Answers   Crea,


Categories