The main difference between function and action is one is generic and the
other is QTP specific code segments.
Why because for easy manitanance(centralized approch),reusability

U can associate functions,recoveryscenarios,shared object repository with an
action but not vice versa(meaning function should not associate with
anything).

Thanks
Divyasridhar


On 7/3/10, [email protected] <[email protected]> wrote:
>
>  I'd like to hear Roman's input on this...I believe that Functions can
> pass multiple values when using an array, and it the Functions are called
> with a driver script, then it can be used with Data Table, Local OR,
> Recovery Scenario, etc....Roman?
>
> In a message dated 7/2/10 11:19:19 A.M. Eastern Daylight Time,
> [email protected] writes:
>
> Hi All,
>
>              Functions
>
> Actions
>
> Called many times
> Only reusable actions can be called many times
> Saved into .vbs file
> Saved into QTP
> No default value
> Default value is there
> Light weighted(It is hardly use those options)                  Heavy
> weighted(It have own data table,own local OR,code)
> Functions can return one value
> Multiple values can return
>
>
> Correct me if I am wrong
>
> Regards,
> Kumar
>
>
>
>
>
> On Fri, Jul 2, 2010 at 12:48 PM, Gupta, Sumit <
> [email protected]> wrote:
>
>>  Hi All,
>>
>>
>>
>> Could someone update me on this...?
>>
>> What is the difference between action and function
>>
>>
>>
>> Regards
>>
>> Sumit
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<mercuryqtp%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to