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
What are the features of quick test pro(qtp)?
when u script reveiwing in which area u more concentrates?
Tell some commonly used Excel VBA functions?
How is a Step generator used in UFT?
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)
Which environments does qtp support?
Explain the check points in quicktest professional (qtp)?
What are the automation metrice in your project?
Are Shared ORs read-only?
why text area checkpoints cannot used for web applications
what is description object?
what is command for executing files?
What are the technologies supported by qtp?
How does qtp identify the object in the application?
How software tester can use constants and variables in scripts?