How can we close all webbrowsers which are opened in out
desctop?

Answer Posted / venu

The following code can be used in order to close all the IE
browsers:

SystemUtil.CloseProcessByName "IEXPLORE.EXE"

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does QTP run in any environment?

616


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3259


How to handle dynamic objects in quicktest professional (qtp)?

552


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

511


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1402






What are the different properties of an web object

1432


Explain the check points in quicktest professional?

550


Explain how qtp identifies object?

615


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2981


what is the difference between development and testing

2400


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1736


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1697


Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

1508


How you can find the absolute value of the number in qtp?

528


What is the difference between qtp and selenium?

553