If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened.
What would be Descriptive programming for this in QTP using VB Script..???
Please send your answers.
Answer Posted / m.ganesh
Set odesc=description.Create
odesc("micclass").value="Browser"
Set a=Desktop.ChildObjects(odesc)
print a.count
For i = 0 To a.count-1
browsername= a(i).getroproperty("name")
print browsername
Next
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
Explain in brief about the quicktest professional automation object model?
Can we record using all the modes in a single script? Explanation with example is appreciated
Mention the test steps of qtp.
how can we compare descriptive programing with a regular expression
What is the difference between per-action and shared?
What are some test assets and related extensions of qtp?
What are main panes available in qtp test browser?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
Mention what are the different types of recording modes in qtp? Which will be used when?
What are the differences between table and db checkpoints?
after click on compose mail how can we attached a file in qtp with vbscript code
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
what is error and fault in terms of software quality?