Hi kiran,
Write all function in .vbs file
example:FunctionLibrary.vbs
c:\Library\FunctionLibrary.vbs

Now create new Test case
then Add your Library/Function Library
     File->Setting->Resources->Click on + sign
Select your function "c:\Library\FunctionLibrary.vbs"
Click on Ok button
now function added in ur scrip.now u r free to use this function
check ur Function added or not
        Resources->Associated Function Library
Call this library in you Script
Example:
bReturn=FunctionName()
bReturn=FunctionName2(arg1,arg2)
if no return then
Call FunctionName3(arg1,arg2,arg3)

Feel free to ask if you have any query :)

-- 
Thanks & Regards
Sujit

On Sat, May 5, 2012 at 4:10 PM, Ravi kiran <[email protected]>wrote:

> you can use Call functionName(arguments)
> if there is a return value in the function
> returnname=functionName(arguments)
> like you can call multiple functions
>
> On Fri, May 4, 2012 at 9:04 PM, Kiran Ogeti <[email protected]> wrote:
>
>> could you help the syntax please
>>
>> --- On *Fri, 5/4/12, Syed Rowff <[email protected]>* wrote:
>>
>>
>> From: Syed Rowff <[email protected]>
>> Subject: Re: Call couple of .vbs files into another master vbs
>> To: [email protected]
>> Date: Friday, May 4, 2012, 10:52 AM
>>
>>
>> you can try to call all the vbs files from one vbs file
>>
>>  --
>> 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
>>
>
>  --
> 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