How can we close all webbrowsers which are opened in out
desktop?
Answer Posted / pramod k sirotia
Please Use Following Method:
SystemUtil.CloseProcessByName
By this method Not only webbrowser even any porcess can be
close.
For ex:
Writ this code in QTP Editor
' Below 3 statement will invoke 3 web Browsers
SystemUtil.Run "iexplore.exe"
SystemUtil.Run "iexplore.exe"
SystemUtil.Run "iexplore.exe"
'Below Statement will Close all 3 opened web Browser
SystemUtil.CloseProcessByName "iexplore.exe"
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Explain the concept of how quicktest professional (qtp) identifies object?
what is meant by source control?
How do you configure QTP AND Test director?
describe some problems that u had with automating testing tool?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Can I change properties of a test object?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??