how can i pass parameters into function?

Answer Posted / bluemoon_bala

From the information, i understand that u have written a
function and trying to pass values to that funciton..

Here is an example:
I have created a function called Add and taken two arguments
" a" and "b". And called that function by passing the values
as 2 and 3

Function Add(a,b)
c=a+b
msgbox c
end function

add 2,3

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain advantages and disadvantages kdf?

516


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

1680


What is the file extension of the code file in qtp?

556


how can we do the frame work in qtp

1595


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

1730






what is meant by Implicit and explicit requirements?

3615


Please guide me release notes of Automation once scripts are completed

1458


What is the registration process and examination fees?

547


What are the different ways to invoke an application using QTP?

639


What is business process testing(bpt) in qtp?

687


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1398


what type of automation is follwed in the project?

1478


What is TOM in QTP?

1802


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1376


How many types of actions are there in quicktest professional?

508