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 variant in vb script?

0 Answers  


How to get path of the file through scripting?

1 Answers   Hexaware,


Mention the environments where vbscript could be run?

0 Answers  


How do you declare a variable in vbscript?

0 Answers  


Write a Fucntion to close all Opened browser expect desired one?

2 Answers   Ness Technologies,


Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex

2 Answers  


HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer

1 Answers  


Mention what is select case statement?

0 Answers  


How will you get the last occurrence of one string within another string using vbscript?

0 Answers  


How to create a cookie using vbscript?

0 Answers  


Can u describe what kind of testing are for OTC derivates by banks.

0 Answers   BoA,


Hi, Anybody could tell me What is the 3rd Largest Number in the series..Thanks in Advance..

3 Answers   Amazon, bcbs,


Categories