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 |
what is Action conversion tool? what the Action conversion tool will do?
images are dynamically changes how to compare two images with out using the bitmap
Can i get a simple example exercise for update run mode for sample flight application......... In qtp when i try to run the test in update mode.. Auotmation> update option is disabled............ Pls let me know ................. Thanks in advance.....
What is the Test Object model in QTP?
How does qtp identify gui object?
What is the Diff between Image check-point and Bit map Check point?
what are the difference ways of parameterising?
when we apply the daily build each and every day,the property may change in the application.so that the created script is not reusable in winrunner and qtp.for ex for date field it is taken dtpicker.at another time it is taken some other name.how can i solve it.
how can i prepare for QTP(8.2) to face interview ? give over view details?
what is the present location of nageshwara rao's institute in hydrabad along with institute phone no. and name of institute.He has shifted from S.R Nagar.
How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP
How u call functions in QTP Function to calculate the length of characters in a word -