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 |
There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?
anyone can explain about "Smart Identification" in QTP. what is the use of "Smart Identification" ???
what is impact analysis on regression testing?
Hi All, Can anyone provide me the license for QTP 9.5.... My Email ID: khanbro@rediffmail.com
what will be the stmt if record any edit box in the Web application ?
How to handle the exceptions using the recovery scenario manager in qtp?
i can done the project with QTP in that time i can say how many members in my team size?
I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?
Which functionalities of QTP used in banking project?
What is API
what is the extension of new local object repository?
What is the difference between Datadriven and Parameterization?