write a qtp script to count the number of minimized windows



write a qtp script to count the number of minimized windows..

Answer / 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

More VB Script Interview Questions

What is the main difference between function and sub-procedure?

0 Answers  


How to create a function in vbscript?

0 Answers  


What methods are used to create text files and open text files in the vbscript language?

0 Answers  


How do you write an SQL insert statement?

4 Answers   HCL,


plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this

5 Answers  






How to add actions in driver script to run those actions in QTP?

0 Answers  


write a vb script to display calculator using case statement?

1 Answers  


what is the function to get the ascii value of the character?

6 Answers   Netxcell, Oracle,


What is the difference between Javascript & Vbscript?

2 Answers  


Hi, I need to accept user inputs for login at runtime.I know i can use Inputbox but how to proceed further that i dont know. Thanks in advance

2 Answers  


how to set one column as primary key in QTP and fetch values accordingly

0 Answers   Ford,


Illustrate briefly about the different types of statement

0 Answers  


Categories