what is the diff between Procedure and function

Answer Posted / denish

procedures may are may not return the value,
function must return the value,
procedurs and function can call other functions, but
it doesn't call procedures

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What test cases can you automate using QTP?

872


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1809


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1510


Are Shared ORs read-only?

869


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1619


How are actions and functions different in QTP?

870


What is the descriptive programming?

1795


what is the difference between data driver & data driven and driver script?

2463


How to check which add-ins are associated with a test in qtp?

850


What is keyword view?

811


What is quicktest professional window?

776


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1617


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?

1724


if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp

24837


What are private functions in QTP? How they can be called from the function library?

829