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 |
Can we record an application running on a remote machine using qtp?
Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable.
how to idetfy which test cases are automated?who will deside that plz tell me
does test plan is in test strategy or test strategy is in test plan
after click on compose mail how can we attached a file in qtp with vbscript code
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.
how u track bugs using Test director in manual testing.
what is the latest version of QTP? Main difference between 9.2 and 10 version
How many types of recording facility are available in quicktest professional?
Tell me Three major differences between QTP & Winrunner?
VB scrip has a special command named LBound, which returns the starting index of an arry. What are the possible indexes an array can start with? options are given below. and one only the correct answer. pl select it 1. any index 2. only even non-negative 3. only 0 4. any non-negative integer