How to write functions and sub in vb script?
No Answer is Posted For this Question
Be the First to Post Answer
How to replace junk code recorded by QTP with a mall function.
How to return a value from function...? you should not tell msgbox, print.. etc.,
What are the environments supported by vbscript language?
How do display output message without using msgbox function?
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 is the scope of a constant declared using public?
How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.
Am working with web application. i faced one senario. i.e, webpage having webtable having two coloumns, in that first coloumn is for serial no and second coloumn is for mac address link, now i want to get first row second coloumn value, that having macaddress as link. Please help me how to get that link?
What are events in the vbscript language?
accept a string & display whether a is present or not
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
how to declare a variable in vbscript using vbscript