using descriptive programming how to close all opend browsers?
Answers were Sorted based on User's Feedback
Do While(True)
If Not Browser("index:=0").Exist(0) Then
Exit Do
End If
Browser("index:=0").Close
Loop
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sagar jadhav
Guys instead of doing all the circus mentioned in all above
answers... below statement will close all IE brosers in one
go......
SystemUtil.CloseProcessByName "iexplore.exe"
That's it!
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / naveen
while Browser("Creation Time:=0").Exist
Browser("Creation Time:=0").Close
Wend
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / moin
Public function closeBrowser()
On error resume next
Ipval=Environment("Ipval")
err.clear
Browser(Ipval).Close
If err.description<>"" Then
Reporter.ReportEvent micFail,"Wait",err.description
End If
End Function
Is This Answer Correct ? | 0 Yes | 1 No |
Explain different types of action in qtp?
Tell me Three major differences between QTP & Winrunner?
hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i need to scroll down and up using scroll tab any bodu knows plz help its urjent regards balaji
Where is the Bitmap checkpoint information stored?
where we save the scripts created in one project?
what is meant by "Parameterization technique"?
how to find that tools work well with ur existing system?
Explain about reusable actions?
what is virtual object?
How to find the difference between 2 dates in qtp?
What is the difference between QTP 8.2 and QTP 9.2 ?
hello all i need some good sites or blogs which give info abt vb script with examples n real time scenarios.just like tutorials as i m new to qtp n vbscripting. its urgenttt