Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how do close the task manager through QTP?

Answer Posted / rajni singh

Ucan use below function to kill excel object from task
manager:

'===========================================================
====================
Sub KillExcel ()

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer
& "\root\cimv2")

Set colProcesses = objWMIService.ExecQuery ("Select * from
Win32_Process Where Name ='Excel.exe'")

For Each objProcess in colProcesses

objProcess.Terminate()

Next

End Sub
'===========================================================
=====================
call KillExcel()

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create flat file datasubmission in qtp

2492


How can I change object description or check point values in qtp?

1070


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

2349


Explain different recording modes?

1074


How many types of parameters are available in quicktest professional?

1052


How do know the number of browsers opened?

1127


How is UFT 11.5 version different from UFT 12.0?

1108


How many add-ins comes by default with qtp?

1062


Explain in brief about the qtp automation object model (aom).

1044


How to break the object spy ?

1234


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

2390


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

1072


Explain different types of action in qtp?

1134


What are the technologies supported by qtp?

1024


What is Port testing. Whhen will you perform?

1991