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

If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

0 Answers  


How to take whole text output from screen of Bitmap Application.

0 Answers   CitiGroup,


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

5 Answers  


who you define variables and functions in VB?

1 Answers  


Explain about tristate constants in vbscript?

0 Answers  






how to write basic programs in VB Script like addition, multiplication?

14 Answers  


if there is any string in a given format like as "company name employeecode date" then we have to fetch employeecode form string for ex-string is "capgemini12345june2013" then we have to fetch 12345 by using vb script so guys how can we do that please reply it.

3 Answers   Cap Gemini,


how to write function to validate the number of characters entering into the text box?

2 Answers   TCS,


Explain about the support of asp for vb script functionality?

0 Answers  


How to return only alpha bate string from an string str = "bibhu@#$%&das&*)(SUndar"

4 Answers   Cap Gemini,


write a vb script to display 3*3 matrix

1 Answers  


What are the advantages of vbscript?

0 Answers  


Categories