Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script?

1 Answers   Brain Roots, Ordain Solutions,


If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?

4 Answers  


Can the user toggle between using Local OR and shared OR for the same action?

0 Answers  


When we try to use test run option "Run from Step", the browser is not launching automatically why?

1 Answers  


How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?

1 Answers  






Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

0 Answers  


Define Error Pane of UFT?

0 Answers  


How you can delete excel file in qtp?

0 Answers  


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

6 Answers   Logica CMG,


what is the automation framework that ur company using(actual procedure,not theoritically explination)

1 Answers  


what is the extension for QTP files?

11 Answers   AppLabs,


How to handle Recovery scenario in QTP. give detailed explanation about recovery scenario.

4 Answers   Arsin Systems,






Categories