What is the use of function and sub function in QTP?

Showing Answers 1 - 3 of 3 Answers

bharathi9d

  • Jul 11th, 2006
 

Function and Sub Function are similar.  Only the difference is Sub Function will not return any thing to the function.  But using Function it returns result to the function.

 

We can use function wherever we neet it.

We can do parameterization and also reducing the lines of code, etc...

 

 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions