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 |
which checkpoint we use to validate yahoo login screen window after login with ur id and password in qtp
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private
When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??
2 Answers DST Global Solutions,
How did you resolve conflicts present in Object Repository?
can QTP works on LINUX platfom
what is the qtp objects?
Could someone explain me how to work on Out put values, explain with some example on Flight Reservation. I want to insert the out put value for the order No. Please explain the steps with some example.
list me out the shortcutkeys for some functionlities in the qtp for example to record ,to run ... etc
How do you export an output to a excel sheet? Ex: I get my answer by using Msgbox"..." &R. How do I displayed the result of the Msgbox (such as R) to an excel sheet? Please let me know.Thanks
what is testing process with QTP in organization
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
How to test background color and dynamic images which are moving during runtime?