write a qtp script to count the number of minimized windows
Answer Posted / sadashiv byagi
using automation object model
set qtp=createobject("quicktest.appalication")
qtp.launch
qtp.visible=true
if window= Minimized then
count=count+1
msgbox count
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Mention what is the technology used by vb script?
Write a code to print numbers from 5 to 0?
In html file what is an ideal position to include vbscript?
Which object provide information about a single runtime error in a vbscript?
What is the use of the recordset object and which statement is used to create such an object?
What are the uses of vb script?
How will you convert a given number to long in vbscript?
Which data type/types are supported by vbscript language and what are their specialties?
What's the difference between vbscript and vb.net?
How to replace junk code recorded by QTP with a mall function.
What is event handling in vbscript?
Explain a few date functions in vbscript
how to set one column as primary key in QTP and fetch values accordingly
Mention what is the difference between vbscript and vba?