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
In qtp, explain what is keyword driven automation framework?
What are the types of data tables in qtp?
When Recovery scenario actually starts while testing the application?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
What is the use of ordinal identifier in qtp?
Diff b/w Health care domain and Banking Domain?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
If object is not recognized by qtp but the object is standard object what is your approach?
Mention what are the different types of recording modes in qtp? Which will be used when?
How many ways we can parameterize data in quicktest professional (qtp)?
what is keyword driven testing in qtp?n how is it useful?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
Explain quicktest professional (qtp) testing process?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.