What is difference between function and procedure?
Answer Posted / babu
1.Function always return a single value but procedure may
return more than one value.
2.We can use functions in select statement but we can not
use procedure in select statement.
3.There is possible of recurssive functionlike max(min
(something)),but there is nothing like in procedure.
4.In function we use a return keyword but in procedure no
return keyword is used.
Is This Answer Correct ? | 8 Yes | 11 No |
Post New Answer View All Answers
How to find the name of the machine where you are running your automation scripts in qtp?
Which functionalities of QTP used in banking project?
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?
What is the use of an object spy tool in qtp?
How to remove associated function library?
How to recognise the webelement and verifying that webelement is enabled?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Where we use data driver in qtp?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
What are the types of object repositories? Which one is you using?
What is the syntax for how to call one script from another?
How do you check ticket cost and ticket number in flight application?
What is the registration process and examination fees?
Limitations in QTP?
hou can we use vb script in qtp could u tell me breafly