What is the difference in between function and sub as well as
give some code of both



What is the difference in between function and sub as well as give some code of both ..

Answer / mukesh

The main difference is that a Function Returns a value but a
Sub do not

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

How to fetch web elements count from Google Page which contains letter "e"

4 Answers  


what is difference between Mandatrary proparties and Assistive proparties? Explain

4 Answers  


Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.

2 Answers   Banking,


how can i call an external action,which is not added external action of an action?

2 Answers   Ordain Solutions,


explain qtp framework by taking an example?

3 Answers  






How to remove associated function library?

0 Answers  


How to save your test using quicktest professional (qtp)?

0 Answers  


How u perform exception handling in QTp,what is other name for ths

1 Answers   Lehman Brothers,


how to capture objects of remote deskop as it is capturing only window.

1 Answers   Wipro,


take one exmple and write on that discriptive programe in qtp?

1 Answers  


What is API?

1 Answers  


Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.

6 Answers   GE,


Categories