What is difference between function and procedure?

Answer Posted / rohan

1)FUNCTION doesn't have wait statement WHERE PROCEDURE may
have wait statement..!

2)IN FUNCTION all parameters are Mode "IN" WHERE PROCEDURE
MODE may be IN,OUT,INOUT.

3)Generalize form of an expression (FUNCTION)
PROCEDURE-Generalize Form of Statsment.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we Test Welcome Screens and Process Images with QTP

1419


Your roles and responsibilities and daily tasks? (As automation tester)

2572


How can I use Call dlls in QTP ?

1776


Explain about the test fusion report of quicktest professional?

522


Name the properties you would use for identifying a browser and page when using descriptive programming?

514






Define Error Pane of UFT?

682


Explain the types of object repositorys in qtp?

562


How to use the object spy in quicktest professional (qtp) 8.0 version?

500


your coming from electrical backgroung..but y ur coming to software side?

1374


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

611


What is the syntax to call one script from another?

525


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

615


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

1421


How many add-ins comes by default with qtp?

526


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3481