How do you return a value from a function

Answer Posted / prabhakar

msgbox "returned value =" &example

function example()
a=2
b=3
example = a+b
end function.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

• What type of testing questions will be asked for 2+ yrs exp people in interview?

1471


When and why to use descriptive programming?

794


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

2056


how u will evaluate the tool for test automation?

1602


Did QTP prove efficient for your project? Yes or No, explain?

6328


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2438


Differentiate the type of test cases which can be automated and which cannot be automated?

786


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1755


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2282


When ‘option explicit’ keyword is used in qtp?

966


What are the advantages of parameterization ?

806


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

2105


What is object spy in quicktest professional?

813


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

800


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1628