Hello All,
Please look into the matter and do the needful.
Thank you,
Imran.
On Mon, Aug 6, 2018 at 9:09 AM, Imran Khan wrote:
> Hello,
>
> I have a function which should return a value and i have to get the
> returned value from the above function and i have to pass the value to
> another function.
> PFB the sample code skeleton,
>
> 1. Public Function fncActivateContract_CaptureContractNo()
>' Few code here
> End Function
>
>
> 2. Public Function fnc_T1_ContingentValidation(strNoOfSe
> rvices,contractNumber)
>' Few code here
> End Function
>
>
> Below is the action,
>
> Dim contactNumber
>
> contactNumber = call fncActivateContract_CaptureContractNo()
> Call fnc_T1_ContingentValidation(strNoOfServices,contactNumber)
>
> Here i am getting two errors.
>
> 1. If the control comes here "contactNumber = call fncActivateContract_
> CaptureContractNo()", then i am getting "Syntax error".
> 2. If the control comes here "Call fnc_T1_ContingentValidation(strNoOfSe
> rvices,contactNumber)", then i am getting "Type Mismatch" error.
>
> Can anyone please help me out?.
>
> Thanks in advance.
>
> Thank you,
> Imran.
>
> --
> --
> 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 MercuryQTP@googlegroups.com
> To unsubscribe from this group, send email to
> mercuryqtp+unsubscr...@googlegroups.com
> 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 mercuryqtp+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
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 MercuryQTP@googlegroups.com
To unsubscribe from this group, send email to
mercuryqtp+unsubscr...@googlegroups.com
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 mercuryqtp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.