What is difference between function and procedure?
Answer Posted / rajasekhar
Procedure is used for performing a specific task any number of times in different situations,thats why it is defined as a block of reusable statements to perform a specific task..
There are 2 types of procedures
1. Function procedures
2. Sub procedures
Function procedure can return a value
Sub procedure cannot return a value
Sub procedures execute more faster than function procedures
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain different recording modes?
How to analyzing test results using quicktest professional (qtp)?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
Write a script to verify font style and color of a windows object using descriptive programming
what is clean sweep?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
How many types of parameters are there?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
Explain runtime dynamic settings?
Get the count of files of similar types from a folder.
How can i check items sorted or not in a weblist ? Give me the script for this...
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?