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

What are the features of quick test pro(qtp)?

536


when u script reveiwing in which area u more concentrates?

1418


Tell some commonly used Excel VBA functions?

603


How is a Step generator used in UFT?

661


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1013






Which environments does qtp support?

679


Explain the check points in quicktest professional (qtp)?

560


What are the automation metrice in your project?

1713


Are Shared ORs read-only?

628


why text area checkpoints cannot used for web applications

1883


what is description object?

1596


what is command for executing files?

1517


What are the technologies supported by qtp?

563


How does qtp identify the object in the application?

537


How software tester can use constants and variables in scripts?

1688