How can we close all webbrowsers which are opened in out
desktop?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sheela
while Browser("Creation Time:=0").Exist
Browser("Creation Time:=0").Close
Wend
Is This Answer Correct ? | 0 Yes | 1 No |
what is the difference between seat and concerent licenses.
Explain QTP using different development techniques ?
How can i see test results in excel sheet ? test data not present in data table.
what is Synchronization point in QTP?Can anybody give a perfect example on it Thanks in advance
Can I change properties of a test object?
How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!
Plz Explain AUTOMATION REFERENCE MODEL?
1)What is the Difference Between WaitTo & Sync?
what is clean sweep?
How to load the object repository at run time?
3 differences between QTP & Winrunner?
For Usability testing, which is preferable Automation or Manual?