write a qtp script to count the number of minimized windows
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 |
Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?
What is byref and byval parameters in vbscript?
Explain the functionality of vbscript?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
When to use function procedures and what are its characteristics?
Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME
How to get path of the file through scripting?
hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me
Which date function is used in the vbscript language to find the difference between the 2 dates?
how to organize files in object repository of qtp
Give examples where vb script can directly run on users system with windows as os?
What methods are used to create text files and open text files in the vbscript language?