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


Please Help Members By Posting Answers For Below Questions

I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

1807


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

580


What is event handling in vbscript?

603


Which data type/types are supported by vbscript language and what are their specialties?

596


Explain the arrays in vb script?

589






How to get the length of the string by making use of the string function?

568


Explain a few date functions in vbscript

558


Explain about vb script?

751


what do you mean .ota mobile format

1943


How will you format a number in percetage format in vbscript?

591


how to increase the values in text box in a given text box increament by two values by clicking on button

1645


How many types of procedures are available in the vbscript language?

534


can anyone tell me the procedure of interview held in applabs

1751


What is the event handling in vbscript?

563


How will you convert a string to lower case string using vbscript?

559