How to pass the parameter from one function to another
function in VB Scripting?
Answer Posted / vaishnavi murugan
dim a
a=10
b=20
call value(a,b)
function value(a,b)
c = a+b
msgbox c
call val1(c)
end function
function val1(c)
d = c+2
msgbox d
end function
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
What are the properties of regexp object?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
How do i automate a website www.flyashx.com without having any test cases witin a week time.
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
What's the difference between vbscript and vb.net?
Difference between dim,public and private variables in vb script?
How to create a function in vbscript?
How are values assigned to the variables in the vbscript language?
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?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
Why to use option explicit in vb script?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
Explain about the asc function?