With out using the task manager,how to close the application
using vbscript and what is the statement?



With out using the task manager,how to close the application using vbscript and what is the stateme..

Answer / sonal.pagare

systemutil.CloseProcessByName "<Application_Name>.exe"

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More QTP Interview Questions

How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.

2 Answers  


Explain the concept of object repository and how QTP recognizes objects?

0 Answers  


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

0 Answers  


How QA specialist can identify when programmatic descriptions are useful?

0 Answers  


what is the difference between Automation object model(AOM) and test object model(TOM)

2 Answers   UHG,






Could some one explain me how to create folder on the desktop from QTP?? This is an interview question

2 Answers   Clinical Soft,


What are the major/ important methods, functions in QTP we use realtime testing

0 Answers  


How to delete an object from the object repository?

0 Answers  


can anyone please tell me which is the best institute for learning QTP and Automation Testing tools in hyderabad with realtime examples and scenarios...I heard about many institutes in Ammerpet hyderabad i.e Suresh Reddy's Smart Solutions, Ashwin Palaparthi's Tech Teach,SUNNYSOFT, SITE institute, I-VINTAGE, siritechnologies and sriven institute..pls suggest me which to choose for learning QTP....Which institute has fasttrack option?

2 Answers  


How to parameterize in QTP?

4 Answers  


How to get Traceability matrix from TD?

0 Answers  


Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J

1 Answers   ADP,


Categories