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 DIFF BTW KEYWORD DRIVEN TESTING AND DATA DRIVEN TESTING?

1 Answers  


VB scrip has a special command named LBound, which returns the starting index of an arry. What are the possible indexes an array can start with? options are given below. and one only the correct answer. pl select it 1. any index 2. only even non-negative 3. only 0 4. any non-negative integer

1 Answers  


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

4 Answers   V2 Solutions,


What is data driven testing in QTP?

11 Answers   Agile Software,


How do Parameterization and Data-Driving relate to each other in QTP?

0 Answers  






Through array we can execute the testcase how ? give me example

0 Answers   TCS,


What are the types of Object Repository’s in QTP?

2 Answers   Crea,


How to capture data from images in QTP and produce them in Excel sheet ? please ans...

3 Answers   Sapient,


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

0 Answers   Livetek,


How will internal and external links be validated and updated? how often?

0 Answers  


What is a checkpoint? How many check points are there in qtp?

0 Answers  


what sort of things what u put in Bug Report ?

1 Answers  


Categories