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
Give the syntax to load function at run time.
How qtp identifies objects?
How to creating an output value using quicktest professional (qtp)?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
What are the technics follow in writing VB script?
What are the different types of action?
What is a Patch in QTP?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
How do we handle run-time errors?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
What are the types of data tables in qtp?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
Why we load add-ins in qtp?
What are the views available in quicktest professional?
What is the difference in testing a client-server application and a web application?