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
Mention how to assign a date value to a variable?
write a program to display configuration of a local system with the help of vb script.
What is sql loader? Explain the files used by sql loader to load file?
How to Import data from a file (file is on the desktop) to the data table
Why is error handling required?
Which operator can be used to change the value of the operand or change the state of the condition?
What is the difference between javascript and vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
Mention when to use function procedures and what are its characteristics?
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
Mention the rules for using option explicit statement?
How will you release the memory acquired by an array variable in vbscript?
How will you get a combined string from array of string in vbscript?
What are the advantages of vbscript?