How u call functions in QTP

Answer Posted / charan

syntax for function
fun <fun name>(arg1,arg2)
<statements>
end
for example if u want to call mul(3,6)
call mul(3,6)
function mul(a,b)
mul=a*b
end

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is throw Object?

1558


How to creating an output value using quicktest professional?

542


What are the advantages of parameterization ?

595


What is a quick test professional?

629


Is text area check point supports for web applications?

533






How to capture all the data of a webtable, weblist and combolist using QTP?

2853


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1499


What are the methods of the TextStream object that are used for reading from a text file?

1687


What are the views available in quicktest professional?

563


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1426


What is the default add-ins in qtp?

554


What are the trigger events in qtp?

573


Where we can use the synchronization?

571


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2489


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1667