Make the array global variable, include the declaration in the library
vbs file.
It may be more convenient to use class or dictionary objects, not an array.



On Thu, Mar 10, 2011 at 9:11 AM, Arya <[email protected]> wrote:
> Well i created a library function and connected the script to it
> now the question is how to access the array values tht i have in my
> library function from the calling script
> can u give me a small example pls ?
>
> On Mar 10, 9:00 am, govind sirvi <[email protected]> wrote:
>> Hi,
>> Collect all the return values of the functions in a array or dictionary
>> object and pass them to where ever required
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Mar 10, 2011 at 4:41 AM, Arya <[email protected]> wrote:
>> > i have got one common QTP script which has all the common functions
>>
>> > There are other QTP scripts which I want to call this common script
>> > Also this there are values which this common script is going to return
>> > which are going to be used by the calling script
>>
>> > Is this possible in QTP, if no then what is the workaround to do so
>>
>> > --
>> > 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
>>
>> --
>> Thanks and Regards,
>> Govind
>
> --
> 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

-- 
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