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
What if you do not specify anything when you call a procedure?
What are the 2 ways to pass a value to the function?
about vb scripting programs this type of all question& answers
give me any information abou vb script books learn quckly
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What is the scope of a constant declared using public?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
What is the output of a + b in vbscript if a = 5 and b = 10?
What is vbscript?
How will you convert a given number to long in vbscript?
Which function is used in the vbscript language to convert the specified expression into a date type value?
please can you help me to get a code of flames using a visual basic 6
How will you get the exponent of the given number in vbscript?
Why to use option explicit in vb script?