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 |
Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts?
what are the metrics in general we use in testing.
Can we record an application running on a remote machine using qtp?
how can i call function (which has link with excell sheet at a remote location) within another function
In real time ,How to run all scripts in QTP? i,e in projects
Explain how you can find length of array in qtp?
what is smart identification in qtp? pls any give details? thanks in advance
What is TD plugin? For what purpose they are used . Ineed to connect QC9.2 with QTP 9.2 . Need to run some scripts IN QTP having the QC connectivity. Pls explain in detailed step Thanks in advnece
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
What is difference between Class and MicClass
who will distribute the project modules for testing in testing team ?
What is the difference between client server application and web based application?