write a script to close all open browser in qtp except one
browser whose name is xyz
Answer Posted / milan das
Set objbrowser=description.Create
objbrowser("micClass").value="Browser"
Set objbrwcnt=Desktop.ChildObjects(objbrowser)
msgbox objbrwcnt.count
For i=0 to objbrwcnt.count -1
If objbrwcnt(i).GetRoProperty("name")<>"xyz" Then
objbrwcnt(i).close
End If
Next
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Explain process of smart Identification in QTP?
How you create new action in qtp?
which type of testing process are you following in ur company? how to recognize a qtp page?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
Which functionalities of QTP used in banking project?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
banking domain description for software tester for interview
How do know the number of browsers opened?
Explain how qtp identifies objects?
Explain how Does Run time data (Parameterization) is handled in QTP?