You cant call a function in you action from the function library. You can 
call a function in the .vbs file from your action. From your example, you 
are trying to call Add(), which is in you action from the function Sum, 
which is in the library file

On Tuesday, December 27, 2016 at 2:15:36 AM UTC-7, Shantanu Mishra wrote:
>
> Public Function Add()
> Dim a,b
> a=10 
> b=10 
> c=a+b
> print c
> End Function
>
> The above function is written in my Action1.
> I have a abc.vbs file in which the below function is written
> Function Sum1()
> Dim a,b
> a=20
> b=50
> c=a+b
> print c
> Call Add()
> End Function
>
> But I am unable to call Add.It shows me type mismatch
>  
>

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to