What is difference between function and procedure?

Answer Posted / rajesh trivedi

Function must returs a value, but procedure can return more
and not any value..

Fuction are used for check conditions, but procedures can
be use check condition as well as for the bussiness logic.

Is This Answer Correct ?    25 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1466


how to test Web application using QTP software

1340


Hello friends..... On which areas of an application we can not test with QTP

1561


Explain runtime dynamic settings?

2032


how can i call function (which has link with excell sheet at a remote location) within another function

1581






How to creating an output value using quicktest professional (qtp)?

573


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1427


How to handle the exceptions using the recovery scenario manager in qtp?

573


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

1507


How is UFT 11.5 version different from UFT 12.0?

613


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1677


I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

2427


How to delete an object from the object repository?

597


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1496


Explain the difference between check point and output value?

500