if there r 10 windows open in QTP write a command to close
all 10 windows at a time ?

Answer Posted / ashok

closedCount = SystemUtil.CloseProcessByName("iexplore.exe")

'Display # of closed windows
MsgBox closedCount


If you want to know more refer this link
http://www.knowledgeinbox.com/documents/closingprocesses.html

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1556


What is QTP testing process?

702


how to do the batch testing in test director using manual testing procedure?

1855


What is the difference between rational rose and QTP?

1873


how to explain a claims and insurance project?

1855






How many number of actions possible in qtp?

693


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1486


How many tabs are available in debug viewer pane?

733


What are the two types of repositories available, explain them?

670


Is it possible to switch between recording modes during a test creation?

679


Who uses qtp tool?

656


how to create flat file datasubmission in qtp

1994


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

1535


Explain calling sub procedure.

713


write a script to verify the image path(src property) of the images which are in web pages.

1880