Please Explain difference b/w function and Action?

Showing Answers 1 - 3 of 3 Answers

sukumarguptahyd

  • Feb 22nd, 2007
 

The main difference b/w function and action is function returns only a single value whereas action returns multiple values.

  Was this answer useful?  Yes

Anil_Sharga

  • Feb 27th, 2007
 

In Keyword view, when QTP interacts with application  under test it stores in the form of action. while in expert view QTP records scripts in the form of functions ( VB Script).

  Was this answer useful?  Yes

sriprakash

  • Mar 6th, 2007
 

Main difference is action written in one script can be called in another script if we make it as a external reusable.Where as function written in 1 script cannot be called in another script

regards
sriprakash hebbar
Sinior software test engineer

  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