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
How many types of recording modes in qtp?
how do i know how to use tools
Who uses qtp tool?
What are the different types of recovery operation?
How to use setroproperty?
after click on compose mail how can we attached a file in qtp with vbscript code
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
What are the views available in qtp?
What is the purpose of loading qtp add-ins?
What do you mean by iteration?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
What are the properties you would use for identifying a browser and page when using descriptive programming?