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 |
In qtp, explain what is crypt object
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
How do you synchronization point through DP?
Hi,iam new to automation and i have 1 year experience in manual testing.I have a little bit idea about QTP9.0 .But i have no idea about script writing using VB.Please help to learn script writing.
str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
why the smart identification is not there in WinRunner
How we can add actions in the test using QTP?
Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
What are the differences between quicktest professional (qtp) and winrunner?
In QTP what is the difference between Step-in, Step-out, Step-over ?
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....