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 can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
What is the concept of hooking in QTP?
How to save your test using quicktest professional (qtp)?
in a web page How to check and display a particular word from a paragraph?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
suppose our project is developed using java technologies.after complition of the coding developer relesed a build to the testing team.so, what is the process means how we open that documents?what are that documents?plz give reply its urgent
WHAT ARE THE DISADVANTAGES OF SHARED REPOSITORY?
what are the principles of good testing scripts for automation?
What is LoadRunner?
write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?
how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch
How is UFT 11.5 version different from UFT 12.0?