What is difference between function and procedure?

Answer Posted / dasith

Function Always returns a value,
Procedure may/may not return a value,

:Execution of function & procedure depend on
number of lines of code in each, other than that
execution time is almost the same:

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Keyword Driven test and Data Driven test?

1752


What do you mean by iteration?

604


What is 'sleep' in sync point?

597


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2439


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1459






HOw to add the recovery file at runtime to the test file .

1517


Diff b/w test scenario's and test Procedures?

1602


i can done the project with QTP in that time i can say how many members in my team size?

1344


How to associate function library at a run time?

679


Can you brief the hurdles you faced during Automation testing?

553


When ‘option explicit’ keyword is used in qtp?

730


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1405


By using QTP can we record any log files written by the application which is in execution?

1441


What is ObjectParamater?

1550


Discuss the QTP Environment?

603