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 does Reporter.Reortevent2 does?
How u send bugs to dev'lpment team all at once or one by one or waht is the process?
Explain the concept of object repository & how qtp recognizes objects?
Explain about the Test Fusion Report of QTP?
how to identify a webtable coulmn values ,if we spy the coulmn value it is sometimes identifying as Webedit and some times it is identifying as "webelement", Could any body let me know how to handle the issue?
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
wt is frame work wt r d different types of frame works used in ur company
What is the use of Testing framework in Automated testing..what are different kinds of Testing frameworks available in Automated testing...
Is it a smart choice to use QTP for backend testing?
What is parameter in qtp?
Is QTP Object Oriented language or Object Based language? What are the OOPS concepts it will support? Why it wont support all the OOPS concepts?
how to handle the textboxes where in it should take the sum like ex:: while posting a question in this site it will for what is the result of 6+3=__ where in we have to enter manually 9 and click on submit... but how to handle these cases in qtp.. can someone plz help me out wid dis...