write a script to count no drives in file systems in qtp?
Answer / sandeep
Set FSO=CreateObject("scripting.filesystemobject")
Set coll=fso.Drives
MsgBox coll.Count
Is This Answer Correct ? | 3 Yes | 0 No |
write script to open Gmail.com, and to write script for entering username and password and show whether the result as pass or fail
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?
how to add action through AOM in QTP
. Program for sorting of numbers in vb script?
In QTP how to insert a data base check point for web based application and simultaneous link to code in expert veiw. hw to retrieve a data(single coulumn from server) that matches with inserted value manually or exported from excel sheet.
What is sql loader? Explain the files used by sql loader to load file?
What is the technology used by vb script?
what is fire event method in qtp?
i have developed the below QTP script to count the no of items available in the web list "Select a product" in www.bankrate.com and also want to print what are the items??? can any one help me to rectify the below script??? SystemUtil.Run "iexplore.exe","www.bankrate.com" a=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetTOProperty("items count") msgbox a Dim List() ReDim List(a-1) For i = 1 To a List(i-1)=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page ("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetItem(i) Print List(i-1) Next
What if you do not specify anything when you call a procedure?
Mention what is the difference between vbscript and vba?