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 |
How to capture data from images in QTP and produce them in Excel sheet ? please ans...
Explain the benefits of quick test pro(qtp)?
tell me types of environment variables? what r they? explain details? pls give anwer any one?
what is the use of descripting programming?
i can done the project with QTP in that time i can say how many members in my team size?
Explain types of exception handling and script for that?
Which scripting language used by quicktest professional?
What is the extension of script and object repositary files?
How do client side image and server side image work?
Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). Pls anyone, very urgent
HO DO U CALL A ACTION?
Is it possible to call from one action to another action in qtp?